summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkClassicTheme.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-18 12:05:24 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-18 12:05:24 (GMT)
commit29dbbc2b98d03faa31105171d49ec5a219dab3a1 (patch)
tree9aa7d62df517d0cc28da2be74148be5c179a01c0 /generic/ttk/ttkClassicTheme.c
parent5c61bcbe7c9f0de02a56e88fcd6253a2b2cfb482 (diff)
downloadtk-29dbbc2b98d03faa31105171d49ec5a219dab3a1.zip
tk-29dbbc2b98d03faa31105171d49ec5a219dab3a1.tar.gz
tk-29dbbc2b98d03faa31105171d49ec5a219dab3a1.tar.bz2
In ttk layouts, when -expand 1 is specified, then -side is ignored. Ditto for respectively the TTK_EXPAND and TTK_PACK_* flags. Remove such specs that are anyway ignored.
Diffstat (limited to 'generic/ttk/ttkClassicTheme.c')
-rw-r--r--generic/ttk/ttkClassicTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkClassicTheme.c b/generic/ttk/ttkClassicTheme.c
index 4b245c7..228d474 100644
--- a/generic/ttk/ttkClassicTheme.c
+++ b/generic/ttk/ttkClassicTheme.c
@@ -457,7 +457,7 @@ TTK_LAYOUT("TMenubutton",
TTK_GROUP("Menubutton.highlight", TTK_FILL_BOTH,
TTK_GROUP("Menubutton.border", TTK_FILL_BOTH,
TTK_NODE("Menubutton.indicator", TTK_PACK_RIGHT)
- TTK_GROUP("Menubutton.padding", TTK_PACK_LEFT|TTK_EXPAND|TTK_FILL_X,
+ TTK_GROUP("Menubutton.padding", TTK_EXPAND|TTK_FILL_X,
TTK_NODE("Menubutton.label", 0)))))
/* "classic" entry, includes highlight border */