This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

Flex

struct in UnityEngine.Experimental.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Use this structure to set the IStyle.Flex shorthand property which sets the IStyle.flexGrow, IStyle.flexShrink, and IStyle.flexBasis properties.

Properties

basisThe value for the IStyle.flexBasis property.
growThe value for the IStyle.flexBasis property.
shrinkThe value for the IStyle.flexBasis property.

Constructors

FlexConstructor.