diff options
author | fvogel <fvogelnew1@free.fr> | 2019-09-18 17:33:02 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-09-18 17:33:02 (GMT) |
commit | 9483e2ad64759b1ee91a32ce91e1a9c89cb626f4 (patch) | |
tree | f76f92057dd263e52f939a8c0d938e9095e1c49c /generic | |
parent | 250217d618d22baf0222a0f7fa837f0aab916608 (diff) | |
download | tk-9483e2ad64759b1ee91a32ce91e1a9c89cb626f4.zip tk-9483e2ad64759b1ee91a32ce91e1a9c89cb626f4.tar.gz tk-9483e2ad64759b1ee91a32ce91e1a9c89cb626f4.tar.bz2 |
Fix [cc6c711c1e]: treeview layout issues (patch from Brad Lanam)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/ttk/ttkTreeview.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c index 3674ae5..fcd807c 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -1232,9 +1232,10 @@ static int ConfigureColumn( if (mask & GEOMETRY_CHANGED) { if (!Tk_IsMapped(tv->core.tkwin)) { TtkResizeWidget(&tv->core); - } - RecomputeSlack(tv); - ResizeColumns(tv, TreeWidth(tv)); + } else { + RecomputeSlack(tv); + ResizeColumns(tv, TreeWidth(tv)); + } } TtkRedisplayWidget(&tv->core); |