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
UGUI has certain ways how it does things, and some are not yet considered by FlexLayout or done differently. The problem of this is that it's either unintuitive to use or just unusable in some scenarios.
Children of a layout element should be layed out unless they are configured to be ignored (see ILayoutIgnorer)
currently, children need to be marked with a FlexLayout or they are ignored i.e. the opposite
properties controlled by layout elements should be "marked" as such (you can observe this with the ContentSizeFitter, *LayoutGroup, etc.)
The FlexLayout can already be used in the current state, however it seems like it can only be used on the top level or with another FlexLayout as parent. This prevents it to be used within a ScrollRect or within layout groups e.g. if you want to transition slowly from UGUI layouts to FlexLayout where its useful.
UGUI has certain ways how it does things, and some are not yet considered by
FlexLayoutor done differently. The problem of this is that it's either unintuitive to use or just unusable in some scenarios.Aspects that should be supported:
ILayoutElementproperties (see Add support forILayoutElementproperties #26)ILayoutIgnorer)FlexLayoutor they are ignored i.e. the oppositeContentSizeFitter,*LayoutGroup, etc.)The
FlexLayoutcan already be used in the current state, however it seems like it can only be used on the top level or with anotherFlexLayoutas parent. This prevents it to be used within aScrollRector within layout groups e.g. if you want to transition slowly from UGUI layouts toFlexLayoutwhere its useful.