I have a TreeView
whose columns are all expandable with fixed-mode sizing. I would like to restore the widths of the columns when the user restarts the app. It seems that calling set_fixed_size
is the way to do this, but:
Is there a way to restore the column widths that gets around these problems?
It turns out that expand
interferes with fixed_width
. In my case, the solution was to set fixed_width
and expand=false
on columns that the user resized, and expand=true
on the others.