klyn.gui.windows.Widget.size
property
public property size as Tuple<Int, Int>:
Description

Computed widget dimensions expressed as (width, height).

Assigning this property preserves the current x and y coordinates and applies the same min/max constraints and resize notification as setBounds().

widget.size = (320, 180)
assert widget.size == (320, 180)