Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Layout size not defined by its members

    I have the following problem. I'd like to do a layout as shown in the attachment.

    The LayoutStructure looks like this:

    Code:
    hLayout.addMembers(dynForm, listGrid2);
    vLayout.addMembers(listGrid1, hLayout);
    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?
    Attached Files
Working...
X