diff options
author | fvogel <fvogelnew1@free.fr> | 2022-08-28 17:40:33 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-08-28 17:40:33 (GMT) |
commit | ca1975bcca68c9b40fd9145575c04a6a8fd2e2d5 (patch) | |
tree | bdc7674a5cf3934d3f50ef0e43b4ecfb99280129 /generic/ttk | |
parent | b8f8fde82740fc7489eb1f59e0cf88810c0841af (diff) | |
download | tk-ca1975bcca68c9b40fd9145575c04a6a8fd2e2d5.zip tk-ca1975bcca68c9b40fd9145575c04a6a8fd2e2d5.tar.gz tk-ca1975bcca68c9b40fd9145575c04a6a8fd2e2d5.tar.bz2 |
Use already defined constants instead of hardcoded values for column default width and minwidth.
Diffstat (limited to 'generic/ttk')
-rw-r--r-- | generic/ttk/ttkTreeview.c | 4 |
1 files 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; |