By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,095 Members | 1,658 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,095 IT Pros & Developers. It's quick & easy.

wxListbook layout problem

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.