summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.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 /win/ttkWinXPTheme.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 'win/ttkWinXPTheme.c')
-rw-r--r--win/ttkWinXPTheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 436fe00..90863b9 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -923,8 +923,8 @@ TTK_LAYOUT("TButton",
TTK_LAYOUT("TMenubutton",
TTK_NODE("Menubutton.dropdown", TTK_PACK_RIGHT|TTK_FILL_Y)
- TTK_GROUP("Menubutton.button", TTK_PACK_RIGHT|TTK_EXPAND|TTK_FILL_BOTH,
- TTK_GROUP("Menubutton.padding", TTK_PACK_LEFT|TTK_EXPAND|TTK_FILL_X,
+ TTK_GROUP("Menubutton.button", TTK_EXPAND|TTK_FILL_BOTH,
+ TTK_GROUP("Menubutton.padding", TTK_EXPAND|TTK_FILL_X,
TTK_NODE("Menubutton.label", 0))))
TTK_LAYOUT("Horizontal.TScrollbar",