Flex
The element displays normally.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Flex = 0
Remarks
The following example sets the display style of an element to :
DisplayStyle.FlexExamples
myElement.style.display = DisplayStyle.Flex;