Re: LayoutEditor trouble on Mac?

John McCormick <[email protected]> Mon, 12 May 2008 21:48:41 -0500
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
It's got to be that the wxFrame (panel) that hosts the controls no 
longer sizes appropriately on Mac. I don't have PythonCard running on a 
Mac at present, but I have a theory that adding:

             self.panel.size = self.size

to resourceEditor.py at line 1292 or so, assuming everyone else has the 
same resourceEditor I do, would correct it, albeit in a 
less-than-perfect way since it doesn't take into account the menu bar, 
status bar,etc.

I really don't know what I'm doing here, but I was surprised not to see 
any sizers or equivalent code for self.panel in resourceEditor.py, since 
(I assume) wx.Panel doesn't grow to fill its parent by default. Maybe it 
does on Windows and doesn't on Mac, and that's the problem?

Anyway, I'll try and get PythonCard up and running on my Mac and see if 
it helps, or any of you Mac guys are welcome to try it and let me know.

--
John McCormick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/