I can easily change the width of every column in a ttk::treeview but how
do I change the width of the tree label? Which is a "column" placed
before column #0 and don't have a column name (as far as I know).
Since ttk::treeview doesn't have a widget option '-width' I see no where
I can specify the width of the tree label.
Sorry, newbie question. Thanks in advance.
You can use the command:
$tree column $column -width $width
for that.
Regards,
Arjen
Column #0 is the first one next to tree label, so if I guess, the tree
label must be sitting in column #-1, which I tried, doesn't work.
Besides, you don't need a variable (i.e. $column) to specify tree label,
since there is only one tree label that you can specify to, and it is
always the same position and order....
I am not sure what treeview you are using but on my system the #0
column is the tree part.
try opening a console in your app
console show
then type
parray ::ttk::treeview::State
the 'heading' entry gives the column for the last header clicked on
with the mouse button.
click on the heading and redo the parray command
Martyn