Hello,

Am 01.11.2010 07:15, schrieb OKB (not okblacke):
>       Does Dabo provide any convenient way to specify margins or padding
> around a given object when creating it or adding it to a sizer?  I can
> add padding by inserting spacers, but this is cumbersome, because I need
> to add additional sizers just to include the padding if I want padding
> in the opposite direction from the existing sizer.  (That is, if I have
> some objects in a vertical sizer, and I want one of them to have
> horizontal padding, I have to add a horizontal sizer just to add spacers
> to it.)  I'm wondering if there's a convenient way to specify padding on
> all four sides when creating the object itself, or when linking it into
> the rest of the GUI.
>

The append and insert methods of dSizer take a the parameters "border" 
and "borderSides" which do what you need. More information in the wiki:

http://wiki.dabodev.com/DSizerMethods

or in the API documentation:

http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dSizer.dSizer.html

And the Dabo demo application contains a dSizer part where you can see 
the effect of setting borders.

HTH
Sibylle
_______________________________________________
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