Unanswered: How to get the height of a Widget before showing on the screen?

Unanswered: How to get the height of a Widget before showing on the screen?

Hi,

I have a VerticalLayoutContainer with a fixed height and width. Lets call it "outer". To outer I want to add Widgets that are themselfs VerticalLayoutContainers and have only a fixed width. Lets call them "inners". The height of each inner depends on the amount of data that it should display.

Now I want to add only that many inners to outer such that the sum of heights of inners does not exeed the height of outer. For that purpose, I need the heights of inners, which seems not fully available until inners are shown on the screen. This seems especially true for inner containing grids.

Is there a way to get the height of an inner before showing it or to "preshow" it?