ui.HBox

ui.HBox

class

Horizontal container

Fields

NameTypeDescription
gap number Space kept between children in slate units

Functions

ui.HBox:add(child)

Append a child widget (must not already be parented)

child ui.Widget Widget to append

ui.HBox:clear()

Drop every child, leaving the box empty

Inherited from ui.Widget (1)
  • visible Hidden widgets keep their place in the tree and take no input
Inherited from Object (5)