ContainerComponent holding a Viewport. Viewport holds a GridView/GridListBox-type of component;
The GridView in question has a FlexBox instance and a bunch of child components all associated 1:1 with a FlexItem.
The GridView can grow in height (horizontal scroll in the Viewport is OK), but not on width (hence the need for something like FlexBox).
My issue:
How do I recompute the height of the GridView, based on the height that is required by the FlexBox to show all of the components it manages within the restricted width?
Any help is much appreciated.
Cheers.
Update:
I guess, an easier explanation of what I am trying to achieve would be “A FlexBox, which automatically grows on height when lowering its width, so all items in it are always visible”.