473,326 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 2055
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris | last post by:
Is wxListbook actually implemented in wxPython 2.4.07? I attempted to use the class, but an error came back and it is not defined. I found some newsgroup postings in the wxWindows group from...
82
by: Peter Diedrich | last post by:
The site design is pretty simple: ============================================ | Head | ============================================ | | ...
39
by: Zak McGregor | last post by:
Hi all Are there any good solutions to aligning form field names and input boxes without resorting to tables? I am struggling to do this nicely at the moment. Thanks Ciao Zak
7
by: Xavier Onassis | last post by:
I would be grateful for recommendations for a CSS layout (header, 2 cols, footer) that can accomodate dynamically added elements. I am not having any luck so far getting this to work in...
30
by: Diane Wilson | last post by:
I'm trying (once again) to figure out how to make a robust CSS layout style that can replace tables. I'd like to be able to do a basic two-column layout, with a one-column header, a two column...
15
by: Tamblyne | last post by:
This problem has got to have a simple solution and I can't be the first person who has ever handled it. Perhaps Google is no help because I'm not using the right terms? (I did find one post...
1
by: cnixuser | last post by:
Hello, I am currently attempting to implement a simple actionlistener for a button in a JFrame that was created via "drag and drop" with the Netbeans 5.0 IDE, the code that I am using to implement...
9
by: weird0 | last post by:
How does C++ and C# solve the Diamond problem? With the help of interfaces that is. Can anyone elaborate ....... Regards
1
by: stevedub | last post by:
I am having some trouble configuring my array to read from a sequential file, and then calling on that to fill an array of interests. I think I have the class set up to read the file, but when I run...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.