[Boa Constr] default size and position of panels
Status: Beta
Brought to you by:
riaan
From: Paul S. <sou...@me...> - 2003-10-23 01:28:26
|
Is there a (sticky) method that allows me to set the size and position of a wxPanel to its default. Eg in _init_ctrls() wxPanel.__init__(self, id=wxID_BREWPANEL, name='brewPanel', parent=prnt, pos=wxDefaultPosition, size=wxDefaultSize, style=wxTAB_TRAVERSAL) If I go back and edit the file with the frame designer, the defaults get replaced with absolute values. On a related topic, is there a simple way at design time to get a control to fill the client area of its container? In this case I don't mind whether the pos and size are set to absolute values as long as they are the right values (AutoLayout takes care of the rest). I find when I do this manually, returning to the frame designer seems to spontaneously resize the contained object. I am using boa 0.2.7. cheers BTW congratulations on a very cool piece of software, I have introduced it to any python programmers I can find at my day job and they never go back. I can just about have an application written with Boa in the time it would normally take NetBeans to load :) |