summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2007-12-06 17:53:00 (GMT)
committerjenglish <jenglish@flightlab.com>2007-12-06 17:53:00 (GMT)
commit95070ced61696db442734c147d3e41e991a74ea2 (patch)
tree517b1752d189dd3d1290c87c05cce60eac78ce2c
parent1ea00937fa9666f4e76b9e095684257da581a77b (diff)
downloadtk-95070ced61696db442734c147d3e41e991a74ea2.zip
tk-95070ced61696db442734c147d3e41e991a74ea2.tar.gz
tk-95070ced61696db442734c147d3e41e991a74ea2.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--ChangeLog6
-rw-r--r--macosx/ttkMacOSXTheme.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b212986..8726ed9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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",