On 02/03/2011 15:41, Ed Leafe wrote:
...
>       You are adding the objects to the form, but not to any sizer. I would 
> rewrite the first example as:
>
> class MainForm(dabo.ui.dDockForm):
>      def afterInit(self):
>          self.Caption = "Hello wiztest"
>          docTabs = self.Application.ui.WizDockTabs(self, Name="MainTabs1")
>       self.Sizer.append1x(docTabs)
>
Much better, thanks, but not quit there, i.e. the WizDockTabs, don't 
expand when resizing the MainForm, beyond its original size.

When I tried to figure it out with the Object Inspector I noticed that 
when one selects "Show Sizer" only the sizer structure is show, it would 
be nice it would also show the items of the sizers.

We have people over this evening, so will have to look at this some more 
tomorrow to see if I can understand what is happening and what I am 
doing wrong.

Werner

P.S.
I also see this warning:
2011-03-02 19:12:16 - ERROR - Unmanaged object added to a Dock Form: 
<WizDockTabs (baseclass dabo.ui.dPageFrame.dDockTabs, id:-215)>
2011-03-02 19:12:16 - ERROR - Unmanaged object added to a Dock Form: 
<WizDockTabs1 (baseclass dabo.ui.dPageFrame.dDockTabs, id:-222)>

and I see two StatusBar's without having explicitly added one.

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to