ListCtrl column resizing

Adi Sieker wrote:

Hi,

I have a ListCtrl with 3 columns.
the last 2 columns are going tobe fixed width and
the first one should fill up the rest of the space without causing horizontal scroll bars.
I have this working, like this:

Take a look at the ListCtrlAutoWidthMixin in the lib.mixins package. It does this for the last column (and has already worked out the kinks for the different platforms.) Perhaps with a little refactoring it could be changed to work with any specified column.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!