[wxPython-users] Re: listCtrl.SetColumnWidth(0, wx.LISTAUTOSIZE)
does not size.
Robin Dunn
robin at alldunn.com
Wed May 9 12:55:57 PDT 2007
F.A. Pinkse wrote:
> Hell Robin,
>
> This is my sample of the problem.
> I left out the notebook and sizer since they seem not to be the problem.
>
> You might have to restore indentation.
> I did a plain copy and paste.
>
> Focus is on the last couple of lines in Frame1.
>
> This is basically what I do in my app
> I have tried different ordering,
> but I never get the word 'second' in full in the first column.
Looks like it is one or two pixels off. Please enter a bug report about
this. In the meantime you can workaround it by adding something like
this:
self.listCtrl1.SetColumnWidth(0,
self.listCtrl1.GetColumnWidth(0)+2)
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list