You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is the eachLayoutChild is being called with no children whatsoever (looks like the onLoad event is being called before any child is constructed.
Is this the expected behavior? How to get the children list in this case?
The text was updated successfully, but these errors were encountered:
Yes, at this moment the renderer creates parent views, attaches them to the visual tree (which fires their loaded events), and then proceeds with child views.
Since you are inheriting from a layout, perhaps it would be easiest if you override _registerLayoutChild and set up your children there:
There is a plugin with this structure:
class Plugin extends AbsoluteLayout { }
and the
constructView
method does:Because it's meant to be instantiated like that:
The problem is the
eachLayoutChild
is being called with no children whatsoever (looks like theonLoad
event is being called before any child is constructed.Is this the expected behavior? How to get the children list in this case?
The text was updated successfully, but these errors were encountered: