wx.ListCtrl doesn't do LC_ICON correctly in wxPython 2.5/Linux

I am having a problem with wx.ListCtrl in wxPython 2.5
with GTK2 on Linux. In particular it won't show multiple rows.

This is what it looked like in wxPython 2.4/GTK1.
It is the top left pane with the pictures in it.

http://bitpim.org/screenshots/wallpaper_linux.jpg

With wxPython 2.5/GTK2, it will only display one
row and if the screen isn't wide enough then it
has a horizontal scollbar.

I have tried all the combinations of styles
and none seems to fix the behaviour.

Roger

Roger Binns wrote:

I am having a problem with wx.ListCtrl in wxPython 2.5
with GTK2 on Linux. In particular it won't show multiple rows.

This is what it looked like in wxPython 2.4/GTK1.
It is the top left pane with the pictures in it.

http://bitpim.org/screenshots/wallpaper_linux.jpg

With wxPython 2.5/GTK2, it will only display one
row and if the screen isn't wide enough then it
has a horizontal scollbar.

I have tried all the combinations of styles
and none seems to fix the behaviour.

Did you try adding the wx.LC_AUTOARRANGE style? (I think the docs lie when they say it is Win32 only)

ยทยทยท

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