Class ToolbarSpacer
A toolbar spacer of static size.
Inherited Members
Namespace: UnityEditor.UIElements
Syntax
public class ToolbarSpacer : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
ToolbarSpacer()
Constructor.
Declaration
public ToolbarSpacer()
Fields
fixedSpacerVariantUssClassName
USS class name of elements of this type, when they are of fixed size.
Declaration
public static readonly string fixedSpacerVariantUssClassName
Field Value
Type | Description |
---|---|
String |
flexibleSpacerVariantUssClassName
USS class name of elements of this type, when they are of flexible size.
Declaration
public static readonly string flexibleSpacerVariantUssClassName
Field Value
Type | Description |
---|---|
String |
ussClassName
USS class name of elements of this type.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
String |
Properties
flex
True if the spacer will stretch or shring to occupy available space.
Declaration
public bool flex { get; set; }
Property Value
Type | Description |
---|---|
Boolean |