diff options
author | jenglish <jenglish@noemail.net> | 2007-12-06 17:52:59 (GMT) |
---|---|---|
committer | jenglish <jenglish@noemail.net> | 2007-12-06 17:52:59 (GMT) |
commit | a98e10772f8dadd0fb62a978ca65352d5fb5f518 (patch) | |
tree | 517b1752d189dd3d1290c87c05cce60eac78ce2c | |
parent | af88e3b61cf48cbbaad517546a16f5108509795c (diff) | |
download | tk-a98e10772f8dadd0fb62a978ca65352d5fb5f518.zip tk-a98e10772f8dadd0fb62a978ca65352d5fb5f518.tar.gz tk-a98e10772f8dadd0fb62a978ca65352d5fb5f518.tar.bz2 |
Fix TCombobox layout on OSX so as not to truncate long text
when combobox is wider than requested [Bug 1845164].
FossilOrigin-Name: 75f1a4a010764041471b8bdc747dea4eb728046c
-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", |