468,287 Members | 1,946 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,287 developers. It's quick & easy.

wxListbook layout problem

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.

Oct 25 '05 #1
3 1920
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
Oct 25 '05 #2
Andrea Gavana wrote:
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.

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
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Oct 25 '05 #3
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
--
SPE - Stani's Python Editor
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html

Oct 26 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Chris | last post: by
39 posts views Thread by Zak McGregor | last post: by
7 posts views Thread by Xavier Onassis | last post: by
30 posts views Thread by Diane Wilson | last post: by
15 posts views Thread by Tamblyne | last post: by
9 posts views Thread by weird0 | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.