Announcement

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

    Sizing of SectionStack in an expansion component

    Hi,

    I tried to use a SectionStack in the expansion component of a list grid to make editing a complex record more clear.
    So far, I've failed to size the SectionStack to accommodate its dynamic content (actually other expandable grids with variable content).
    Either the size (width/height) is fixed (and thus the SectionStack has a fixed size, see fixed_sizing.png), or it is set to "100%" or "*" and the SectionStack just appears as a small stripe without functionality (see attached screenshot, see dynamic_sizing.png).
    A modified showcase example to demonstrate the issue is attached (SectionsCustomControlsSample.java).
    Is it possible to resize a SectionStack dynamically to fit its content at all?

    Thanks
    fatzopilot
    Attached Files

    #2
    Setting
    Code:
    DetailsStack.setWidth("100%");  
    DetailsStack.setHeight("100%");
    DetailsStack.setOverflow(Overflow.VISIBLE);
    and for all contained canvases
    Code:
    Canvas.setOverflow(Overflow.VISIBLE);
    solved my problem.

    Comment

    Working...
    X