← All built-ins / ui_size()

ui_size()

ui_size(...$args): int

Parameters

NameTypeDescription
$handleintwindow/control handle
$wintwidth
$hintheight

Return value

Resizes the window/control.

Example

echo "ui_size($win, 600, 400);";
ui_size($win, 600, 400);

This call needs a real environment (window, server, database or stdin) — the snippet above shows the typical usage shape.

See also

ui_pos()ui_window()