Skip to content
AR2000AR edited this page Jul 21, 2023 · 1 revision

Border(Frame)

Fix all the child's widget size and position to the same values.
The width is defined by the first child, also called the master.
The child widgets's size is always 2 px larger and higher than the master (leaving a 1px border)

Set the Border's color by changing it's backgroundColor value.

border:master():Widget

Return :

  • master:Widget - the master widget that define the widget's size

Clone this wiki locally