layoutPositioning
This property is applicable only for direct children of auto-layout frames. Determines whether a layer's size and position should be dermined by auto-layout settings or manually adjustable.
Supported On:
Signature
layoutPositioning: 'AUTO' | 'ABSOLUTE'
Remarks
Changing this property may cause the parent layer's size to change, since it will recalculate as if this child did not exist. It will also change this node's x
, y
, and relativeTransform
properties.
- The default value of
"AUTO"
will layout this child according to auto-layout rules. - Setting
"ABSOLUTE"
will take this child out of auto-layout flow, while still nesting inside the auto-layout frame. This allows explicitly settingx
,y
,width
, andheight
."ABSOLUTE"
positioned nodes respect constraint settings.