UI module

resize

procedure · 1 overloadsince 0.31.0Source

Change the logical size of the window a UI draws into.

resize :: (ui: *UI_State, width: float, height: float)

Change the logical size of the window a UI draws into.

Parameters

ui: *UI_State
the UI to resize.
width: float
the new width in points.
height: float
the new height in points.

See also