diff options
author | jenglish@flightlab.com <jenglish> | 2007-12-06 17:53:00 (GMT) |
---|---|---|
committer | jenglish@flightlab.com <jenglish> | 2007-12-06 17:53:00 (GMT) |
commit | a401d9800eae85c309475fd858cdb4b8efce97d6 (patch) | |
tree | 517b1752d189dd3d1290c87c05cce60eac78ce2c | |
parent | d553592a7632d7cf6edbb38a6b7547c1d25d1daa (diff) | |
download | tk-a401d9800eae85c309475fd858cdb4b8efce97d6.zip tk-a401d9800eae85c309475fd858cdb4b8efce97d6.tar.gz tk-a401d9800eae85c309475fd858cdb4b8efce97d6.tar.bz2 |
Fix TCombobox layout on OSX so as not to truncate long text
when combobox is wider than requested [Bug 1845164].
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2007-12-05 Joe English <jenglish@users.sourceforge.net> + + * macosx/ttkMacOSXTheme.c: Fix TCombobox layout so as + not to truncate long text when combobox is wider than + requested [Bug 1845164]. + 2007-12-05 Jeff Hobbs <jeffh@ActiveState.com> * library/demos/widget: reduce start size to 70% of screenheight diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index 4e834bf..99a4f9d 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -27,7 +27,7 @@ * top-level window, not to the Tk_Window. BoxToRect() * accounts for this. * - * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.19 2007/12/02 04:32:23 jenglish Exp $ + * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.20 2007/12/06 17:53:01 jenglish Exp $ */ #include "tkMacOSXPrivate.h" @@ -965,7 +965,7 @@ TTK_LAYOUT("TMenubutton", TTK_LAYOUT("TCombobox", TTK_GROUP("Combobox.button", TTK_PACK_TOP|TTK_FILL_X, TTK_GROUP("Combobox.padding", TTK_FILL_BOTH, - TTK_NODE("Combobox.textarea", TTK_PACK_LEFT|TTK_FILL_X)))) + TTK_NODE("Combobox.textarea", TTK_FILL_X)))) /* Notebook tabs -- no focus ring */ TTK_LAYOUT("Tab", |