ToolbarSpacer
A toolbar spacer of static size. For more information, refer to UXML element ToolbarSpacer.
Read time 8 minutesLast updated a day ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor.CoreModule
- Inherits from: VisualElement
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
[Icon("UIToolkit/Icons/ToolbarSpacer.png")][UxmlElement(visibility = LibraryVisibility.Visible)]public class ToolbarSpacer : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
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. |