Open
Description
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.
Aspects that should be supported:
ILayoutElement
properties (see Add support forILayoutElement
properties #26)- 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
- currently, children need to be marked with a
- 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.