> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Ed Leafe
> Sent: Friday, April 02, 2010 10:14 PM
> To: Dabo Users list
> Subject: Re: [dabo-users] Sizer behaviour
> 
> On Apr 2, 2010, at 1:46 AM, Martinecz Miklós wrote:
> 
> > I am working with the Pycon Tutorial (section: Customising and AppWizard
> > Application).
> >
> > When I try to add CklCategories to PagEditRecipes.py, the final picture
> is
> > different from what I can see in the Tutorial.
> >
> > I cannot find out why my from doesn't look like it should be.
> >
> > I did not understand  where and how to insert CklCategories in the form.
> 
>       It looks like you have several duplicate calls in your code. I've
> commented out the lines that don't belong. Try commenting them out in your
> code and see if that makes a difference.
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>    # Add top and bottom margins
>    mainSizer.insert( 0, (-1, 10), 0)
>    mainSizer.append( (-1, 20), 0)
> #    self.Sizer.layout()
> #    self.itemsCreated = True
> #    self.super()
>    mainSizer.insert(0, gs, 1, "expand", border=20,
>               borderSides=("top", "bottom", "left"))
>    vsRight = dabo.ui.dSizer("v")
>    mainSizer.append(vsRight, "expand", border=20,
>               borderSides=("top", "bottom", "right"))
>    vsRight.append(CklCategories(self), 1, "expand")
>    self.Sizer.layout()
>    self.itemsCreated = True
>    self.super()
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> 
> -- Ed Leafe
> 
Hi Ed,

Yes, it works now.

Thank you!
Miklós


_______________________________________________
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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaackgpanngp0urgxvyyklpm8kaaaaqaaaabd4uvdmr0umrpkqwi5hzfgeaa...@upcmail.hu

Reply via email to