Docs (4.0.0)
class UISpacer constructor

new UISpacer

Creates a new spacer component, with optional width and height.

constructor(width?: string | number, height?: string | number, minWidth?: string | number, minHeight?: string | number)

Parameters

  • width — The spacer width, in pixels or CSS length with unit
  • height — The spacer height, in pixels or CSS length with unit

Related

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