From: Alex T. <al...@tw...> - 2005-12-19 00:01:05
|
Don Taylor wrote: > Alex Tweedly wrote: > >> >> I upgraded last night from wxPython 2.5.3.1 to wxPython 2.6.1, and >> have found one problem. >> >> The advanced codeEditor (tools/oneEditor/tabcodeEditor.py) displays >> drop-downs for the list of components and (sometimes) for the >> handlers of that component - these are at the top of the window, >> above the tabbed notebook. Since the upgrade, the notebook covers the >> whole window area, and so these drop-downs are not visible or >> accessible. >> > > I am running with wxPython 2.6.1 (on WinXP SP2 and Python 2.4) and I > do see the drop-downs in tabcodeEditor. Thanks Don. It appears that wxPython2.6.1 is *sometimes* more aggressive in calculating a min size for components than 2.5.x was, so much so that the Choice component is given "0" for height (and sometimes also a too small width). I've added a spacer to the sizer set-up, as well as a min size in the resource file to my local copy, and that now works fine in every case I've found; if I see no problem after some more testing, I'll put that change into CVS. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 16/12/2005 |