Re: LayoutEditor trouble on Mac?

Aaron Stevens <[email protected]> Tue, 13 May 2008 13:47:00 -0400
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
No dice, I fear. I made this change, and still the panel size stays  
fixed. Unusual, it is.

Here's a screen shot AFTER I applied that suggested fix....




-Aaron

On May 12, 2008, at 10:48 PM, John McCormick wrote:

> 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/
> _______________________________________________
> Pythoncard-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>

-------------------------------------------------------------------------
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/

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
pythoncard-panel.png (image/png, 11.6 KB) - not displayed