summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-12-14 20:09:07 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-12-14 20:09:07 (GMT)
commit72dca54e17183c40b2697c20284548cd57d57528 (patch)
tree26e1824ab79de7b65504d4adbe946c6c9c74c730 /win
parentda273a3121cac74628721669428f7df9efe373a7 (diff)
parent5c654e6af241121d283142dd9cc95c9130fcef19 (diff)
downloadtk-72dca54e17183c40b2697c20284548cd57d57528.zip
tk-72dca54e17183c40b2697c20284548cd57d57528.tar.gz
tk-72dca54e17183c40b2697c20284548cd57d57528.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",