I have the following problem. I'd like to do a layout as shown in the attachment.
The LayoutStructure looks like this:
What i want is: hLayout should have the smallest possible height. (the height of the dynForm).
The problem is, when I set hLayout.setHeight(1) the dynForm is displayed correctly, but the listGrid2 has only height(1).
I tried to set the height with dynForm.getInnerContentHeight() or dynForm.getInnerHeight(). But this doesn't work.
If i don't set a height hLayout is too big and i have a white space below the dynForm.
How do I get hLayout to display as I want?
The LayoutStructure looks like this:
Code:
hLayout.addMembers(dynForm, listGrid2); vLayout.addMembers(listGrid1, hLayout);
The problem is, when I set hLayout.setHeight(1) the dynForm is displayed correctly, but the listGrid2 has only height(1).
I tried to set the height with dynForm.getInnerContentHeight() or dynForm.getInnerHeight(). But this doesn't work.
If i don't set a height hLayout is too big and i have a white space below the dynForm.
How do I get hLayout to display as I want?