I have a hierarchy of UIObjects that has automatic layout managers and in order to calculate their preferred size I need to loop all the hierarchy from the most bottom item to the root item.
They currently are stored like this:
root.children[{children: [{…}, {…}, {…}]}, {…}, {…}]
{…} = UIObject
(language=javascript)
thanks
Do you mean you want to calculate result size of parent container?