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



_______________________________________________
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