Re: LayoutEditor trouble on Mac?
Aaron Stevens <[email protected]> Mon, 31 Mar 2008 22:30:30 -0400
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, Resource File attached. My versions: OSX 10.5.2 Python2.5.2 wxPython 25 (I believe -- MacPorts also installed version 26, but I don't think I'm using it.) PythonCard-0.8.2 Any thoughts appreciated! Aaron On Mar 31, 2008, at 6:29 PM, Alex Tweedly wrote: > Aaron Stevens wrote: >> >> Hi Guys, >> >> So I've been toying around with Layout Editor on Mac, and came across >> some weird behavior. I made a "big" window (800 X 600), and I cannot >> see all of it in layout editor on Mac. When I open the same .rsrc.py >> file in Layout Editor on windows, it looks like. Here are sample >> screen shots of each: >> >> Layout Editor on MAC: http://www.cs.bu.edu/courses/cs108/examples/pc-mac.png >> Layout Editor on Windows XP: http://www.cs.bu.edu/courses/cs108/examples/pc-win.png >> >> AND: when I actually run the application on Mac, it looks fine. This >> problem is only in Layout Editor/design time. Any ideas? >> >> > Haven't seen anything like that. Could you send the .rsrc.py file ? > And version info (Pythoncard, wxPython, wx, OSX) - either direct to > me or to the list (if you send it direct - please put 'Pythoncard' > in the Subject line :-) > > -- > Alex Tweedly mailto:[email protected] www.tweedly.net ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Pythoncard-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pythoncard-users
dnssearch01.rsrc.py
(text/x-python-script, 1.6 KB)
{'application':{'type':'Application',
'name':'Template',
'backgrounds': [
{'type':'Background',
'name':'bgTemplate',
'title':u'DNS Search Tool',
'size':(800, 600),
'style':['resizeable'],
'menubar': {'type':'MenuBar',
'menus': [
{'type':'Menu',
'name':'menuFile',
'label':'&File',
'items': [
{'type':'MenuItem',
'name':'menuFileExit',
'label':'E&xit',
'command':'exit',
},
]
},
]
},
'components': [
{'type':'Button',
'name':'btnSearch',
'position':(662, 40),
'size':(115, -1),
'label':'Search',
},
{'type':'TextArea',
'name':'txaOutput',
'position':(16, 117),
'size':(760, 412),
'text':'Output will be here.',
},
{'type':'TextField',
'name':'txtSearchField',
'position':(100, 41),
'size':(554, -1),
},
{'type':'StaticText',
'name':'staFileName',
'position':(16, 16),
'size':(72, 17),
'text':'DNS Log File:',
},
{'type':'StaticText',
'name':'staSearchFor',
'position':(15, 43),
'text':'Search For:',
},
{'type':'Button',
'name':'btnChooseFile',
'position':(661, 10),
'size':(116, -1),
'label':'Choose File',
},
{'type':'TextField',
'name':'txtFilename',
'position':(100, 11),
'size':(555, 20),
},
] # end components
} # end background
] # end backgrounds
} }