Hi All!

What's the best abstract method to detect maximum width and height of the
container, when its content doesn't force the horizontal and vertical bar to
appear?

For instance, I have VBox and 2 100x100 boxes inside it. In this case
considering the default verticalGap value that is 6, maximum width without
scrollbars is 100 and maximum height without scrollbars is 206. But what I
expect is some generic method to find those values, something similar to
private function createScrollbarsIfNeeded(bounds:Rectangle):Boolean method
from native Container implementation.

Thank you in advance.

Sergey.

Reply via email to