summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-12-08 21:43:17 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-12-08 21:43:17 (GMT)
commit5c654e6af241121d283142dd9cc95c9130fcef19 (patch)
treef8c6e562ce6b681500eee39e8de8a454edc224fa /win
parent27bb63c8f88d1ae15e9664dde92fdb783b0e47d5 (diff)
downloadtk-5c654e6af241121d283142dd9cc95c9130fcef19.zip
tk-5c654e6af241121d283142dd9cc95c9130fcef19.tar.gz
tk-5c654e6af241121d283142dd9cc95c9130fcef19.tar.bz2
Fix [b094cb4aa9]: ttk::treeview steadily enlarges width when repeatedly configuring -show. See the ticket for a detailed explanation.
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinXPTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 1375bb6..d23d047 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -1029,7 +1029,7 @@ static ElementInfo ElementInfoTable[] = {
{ "Menubutton.dropdown", &GenericElementSpec, L"TOOLBAR",
TP_SPLITBUTTONDROPDOWN,toolbutton_statemap, NOPAD,0 },
{ "Treeview.field", &GenericElementSpec, L"TREEVIEW",
- TVP_TREEITEM, treeview_statemap, PAD(1, 1, 1, 1), 0 },
+ TVP_TREEITEM, treeview_statemap, PAD(1, 1, 1, 1), IGNORE_THEMESIZE },
{ "Treeitem.indicator", &TreeIndicatorElementSpec, L"TREEVIEW",
TVP_GLYPH, tvpglyph_statemap, PAD(1,1,6,0), PAD_MARGINS },
{ "Treeheading.border", &GenericElementSpec, L"HEADER",