Page 1 of 1
Layer Inside a Flexbox ?
Posted: Fri Nov 17, 2023 11:27 pm
by Account-Ability
When I put a Layer inside of a flexbox, I can move it around. Is there a way for a layer to auto-center inside of a flexbox like other objects?
Re: Layer Inside a Flexbox ?
Posted: Sat Nov 18, 2023 4:55 am
by crispy68
I'm not sure that a layer is meant to be used in a flex container. The flex properties is what controls how objects are aligned in a flex container. Why not use a layout grid instead on its own?
Re: Layer Inside a Flexbox ?
Posted: Sat Nov 18, 2023 7:16 am
by Pablo
A layer should not added to a flex container or layout grid.
Layers use absolute positioning this cannot be used inside a flexible container because then objects will not be 'flexible' and the layout will overlap or break.