ToolbarSpacer
A toolbar spacer of static size. For more information, refer to UXML element ToolbarSpacer.
Read time 6 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
- Inherits from: VisualElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
public class ToolbarSpacer : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
Static Fields
Value | Description |
|---|---|
| flexibleSpacerVariantUssClassName | USS class name of elements of this type, when they are of flexible size. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| ToolbarSpacer() | Constructor. |
Properties
Property | Description |
|---|---|
| flex | Return true if the spacer stretches or shrinks to occupy available space. |