wxListbook layout problem

K

Kay Schluehr

Probably some of you know the amazing demo application for wxPython.
When you open the Listbook demo in the
Core Windows/Contols folder, replace there wx.LB_DEFAULT by wx.LB_RIGHT
and resize the main window the listbox on the right side moves into the
area of colored panel. This is a surprise to say the least. Has anyone
of the GUI specialists an idea how to fix this?

Kay

PS. I tried this on WinXP only.
 
S

Steve Holden

Andrea said:
Hello Kay,




Yeah, that's a bug, at least on XP. I have tried almost everything (binding
the wx.EVT_SIZE and calling refresh, using a sizer, binding the parent
wx.EVT_SIZE) to no avail... probably there is a solution, but at the moment
I am unable to find it...
I would suggest to fill a bug report on this on the wxPython sourceforge bug
tracker, or whatever it is its name. You could also post this on the
wxPython mailing list.

This is WinXP, Python 2.4.1, wxPython 2.6.1.1 prerelease.

Andrea.
As a further data point I have WinXP SP2, Python 2.4.1 and wxPython
2.5.3.1 Unicode, and everything appears to work fine. So if it's a bug
it's a recent one.

regards
Steve
 
S

SPE - Stani's Python Editor

It is definitely a bug. The same problem also happens with
wx.LB_BOTTOM.

Tested on WinXP (SP2), python 2.4.1, wxPython 2.6.1.0

Stani
 
A

Andrea Gavana

Hello Kay,
Core Windows/Contols folder, replace there wx.LB_DEFAULT by wx.LB_RIGHT
and resize the main window the listbox on the right side moves into the
area of colored panel. This is a surprise to say the least. Has anyone
of the GUI specialists an idea how to fix this?

Yeah, that's a bug, at least on XP. I have tried almost everything (binding
the wx.EVT_SIZE and calling refresh, using a sizer, binding the parent
wx.EVT_SIZE) to no avail... probably there is a solution, but at the moment
I am unable to find it...
I would suggest to fill a bug report on this on the wxPython sourceforge bug
tracker, or whatever it is its name. You could also post this on the
wxPython mailing list.

This is WinXP, Python 2.4.1, wxPython 2.6.1.1 prerelease.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top