Kirix Support Forums

padding for mainframe?

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

padding for mainframe?

Postby vexator on Sun Feb 05, 2006 3:37 pm

i would like to add a "padding" to my mainframe (e.g. 2 pixels) so that docking panes are not positioned directly at the mainframe's border. just doesn't look good this way. but i can't find it in the code :( can someone point me at it? thanks :)
vexator
Registered User
 
Posts: 17
Joined: Sat Feb 04, 2006 7:18 am

Postby Ben on Mon Feb 06, 2006 2:24 am

This feature isn't (yet) supported by wxAUI. It's quite easy to add-- just by adding a sizer padding to the topmost sizer in the layout engine.

We'll probably add a simple function to do this automatically for you, because other toolkits support this functionality.
User avatar
Ben
Kirix Support Team
 
Posts: 522
Joined: Mon Dec 19, 2005 6:29 am

Postby vexator on Tue Feb 07, 2006 2:19 pm

oha that's even more than i expected. i actually just wanted to ask where it's set in the code to edit it once..
vexator
Registered User
 
Posts: 17
Joined: Sat Feb 04, 2006 7:18 am

Return to wxAUI Questions, Thoughts & Feedback