Is there a way to create a ULC where the column widths will expand with the parent window? As i have it now the columns will only expand if the vertical lines are dragged.
I want it to function like a gridbagsizer that has growable columns.
Kyle wrote:
Is there a way to create a ULC where the column widths will expand with
the parent window? As i have it now the columns will only expand if the
vertical lines are dragged.
I'm not sure if it will work with the ULC, but take a look at the ListCtrlAutoWidthMixin class in the wx.lib.mixins.listctrl module. If it is not compatible with ULS then it will at least serve as an example if you want to do it yourself.
···
--
Robin Dunn
Software Craftsman
Hey Robin,
I was able to make a few modifications to the ListCtrlAutoWidthMixin class and achieve the result I wanted. Thanks for the great advice and pointing me in the right direction.