Kirix Support Forums

Layout -- Assume MinSize When Docked?

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

Layout -- Assume MinSize When Docked?

Postby apowers on Tue Nov 07, 2006 5:31 pm

Is there any way to specify that when an object is docked, it should assume its minimum size?

I have a number of panes that are stacked one above the other in a single column, and their default behavior is for each to split the height of the screen. I'd prefer for the bottom pane to chew up the extra space and all the other panes above it to assume their minimum size.
apowers
Registered User
 
Posts: 7
Joined: Tue Nov 07, 2006 2:51 am

Postby Ben on Wed Nov 08, 2006 12:47 am

Hi there,

There are a variety of options which can help you. First, try setting BestSize(). The other possibility is setting Fixed() (which is the same as Resizable(false)). This will force the pane to take up its minimum space.

Let me know if it works.

Best,
Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Questions, Thoughts & Feedback