From 95070ced61696db442734c147d3e41e991a74ea2 Mon Sep 17 00:00:00 2001 From: jenglish Date: Thu, 6 Dec 2007 17:53:00 +0000 Subject: Fix TCombobox layout on OSX so as not to truncate long text when combobox is wider than requested [Bug 1845164]. --- ChangeLog | 6 ++++++ macosx/ttkMacOSXTheme.c | 4 ++-- 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 + + * 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 * 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", -- cgit v0.12