View Full Version : Layout question

9 Feb 2010, 8:06 AM

I want to achieve a layout where i have 2 panels stacked vertically.
The first panel can grow because it contains a multi select combobox, and i want the second one to take all the remaining space ( a grid panel).
I tried the follwing :

vbox : does work initially but will create scroll bar for the top panel as the multi select combo is populated

container or anchor : works regarding how first panel grows and pushes the second, but the second panel does not take all the remaining space. (I can't set the height of the second panel because i want to use all the height available).

Any idea how i could achieve this ?