Docs (4.0.0)
class UISpacer method

applyViewPreset

Applies the provided preset properties to this object.

applyViewPreset(preset: View.ViewPreset<UIComponent, this, "width" | "height" | "minWidth" | "minHeight">): void

Notes

  • This method is called automatically. Do not call this method after constructing a UI component.

Related

  • class UISpacerA view class that represents a flexible control without any content.