I use a ViewStack in my application and it holds within it a
few forms. My problem is that the third form is the largest one,
but still the ViewStack calculates its size according to the
contents of the first form, and not according to the largest form
(which is the third one). IT results in an app that the third page
in it has scrollbars. I can't set the size of anything and i must
use the default sizing, moreover, the order of the pages in my app
is not predetermined, thus i can't point out and say "always look
on the third page and calculate the size according to it". I need
somehow to make the ViewStack calculate its size according to the
biggest form in it, does anyone has any idea how to do it?
If you must have a fixed ViewStack size, then you're out of
luck. If you know the height of the tallest child, then you can set
the ViewStack's height to that. Otherwise, I don't see a solution
since you can't even get the height of a ViewStack's child until
the child is shown.