SetColumnWidth for wxListCtrl

I have a report-mode wxTextCtrl, with only one column, full of
imagestringitems. If I use

  self.list.SetColumnWidth(0, wxLIST_AUTOSIZE),

then only the image part shows up. The label can't be seen.

Why?

wxPython 2.4.0.1, gtk, linux

Scott wrote:

I have a report-mode wxTextCtrl, with only one column, full of
imagestringitems. If I use

  self.list.SetColumnWidth(0, wxLIST_AUTOSIZE),

then only the image part shows up. The label can't be seen.

Why?

wxPython 2.4.0.1, gtk, linux

Does it still happen in the latest version?

···

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

I don't know. I've found a workaround for the purposes of the program that I'm working on though.

···

On Mon, 09 Jun 2003 13:37:56 -0700 Robin Dunn <robin@alldunn.com> wrote:

Scott wrote:
> I have a report-mode wxTextCtrl, with only one column, full of
> imagestringitems. If I use
>
> self.list.SetColumnWidth(0, wxLIST_AUTOSIZE),
>
> then only the image part shows up. The label can't be seen.
>
> Why?
>
> wxPython 2.4.0.1, gtk, linux

Does it still happen in the latest version?

Dang it. I just realized I said "wxTextCtrl" in my original question. I meant wxListCtrl, of course. Sorry.

···

On Mon, 09 Jun 2003 13:37:56 -0700 Robin Dunn <robin@alldunn.com> wrote:

Scott wrote:
> I have a report-mode wxTextCtrl, with only one column, full of
> imagestringitems. If I use
>
> self.list.SetColumnWidth(0, wxLIST_AUTOSIZE),
>
> then only the image part shows up. The label can't be seen.
>
> Why?
>
> wxPython 2.4.0.1, gtk, linux

Does it still happen in the latest version?