From ca1975bcca68c9b40fd9145575c04a6a8fd2e2d5 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 28 Aug 2022 17:40:33 +0000 Subject: Use already defined constants instead of hardcoded values for column default width and minwidth. --- generic/ttk/ttkTreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c index 01544fe..6e157e1 100644 --- a/generic/ttk/ttkTreeview.c +++ b/generic/ttk/ttkTreeview.c @@ -243,8 +243,8 @@ typedef struct { static void InitColumn(TreeColumn *column) { - column->width = 200; - column->minWidth = 20; + column->width = atoi(DEF_COLWIDTH); + column->minWidth = atoi(DEF_MINWIDTH); column->stretch = 1; column->idObj = 0; column->anchorObj = 0; -- cgit v0.12