Horizontal
Configure ScrollView for horizontal scrolling.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Horizontal = 1
Remarks
Requires elements with the width property explicitly defined. A ScrollView configured with this mode has the ScrollView.horizontalVariantUssClassName class in its class list. If ScrollView is set to flex-grow or if it's parent is set to FlexDirection.Row elements height stretch else they require a height.