FixedSpace Class

Description

Element that adds a fixed space along its parent's flexDirection. UXML support

public class FixedSpace : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Inheritance
Remarks

This element is analogous to IMGUI's Space(Single).

Constructors

FixedSpace()

Constructor. Uses a small default size.

FixedSpace(Single)

Constructor. Receives the size of the space.

Properties

size

The space's size along the parent's flexDirection. It works as a shorthand for this element's flexBasis value.

Extension Methods

UIToolkitExtensions.GetLocalRect(VisualElement)
UIToolkitExtensions.GetChildren<TElement>(VisualElement, List<TElement>, Func<TElement, Boolean>)
UIToolkitExtensions.GetFirstChild<TElement>(VisualElement, Func<TElement, Boolean>)
UIToolkitExtensions.ForEachChild<TElement>(VisualElement, Action<TElement>)