Re this:
The bug report might not a bug, but related to a missing vl1.setHeight100();.
But I'd not expect to need such a call, as the ListGrid lg1 already has it. Any pointers?
But I'd not expect to need such a call, as the ListGrid lg1 already has it. Any pointers?
What's going on is this: The SectionStack has 2 sections, both expanded.
One contains a single ListGrid which has height set to 100% - basically telling it to take up all available space.
The other contains a Layout with no specified height, so it will explicitly size to basically as small as possible (since the other section's item - the ListGrid - takes up the entire available space).
The ListGrid within it has height set to 100% - which is telling it to take up all available space within its parent -- so it's taking up 100% of a very small parent layout. Ultimately this is too small to render in a meaningful way, so you end up with the odd clipped rendering you see (plus possible warnings resulting from there not being enough space to write out the normal HTML for a ListGrid in the DOM).
You can resolve this by sizing the VLayout vl1 larger (for example by setting its height to 100% via a call to setHeight100(), which will cause it to split the available space with the other ListGrid), or you could assign an explicit pixel height to the ListGrid rather than sizing it as a percentage of its parent.
Regards
Isomorphic Software
Leave a comment: