public override setBounds(x as Int, y as Int, width as Int, height as Int) as Void
Updates the logical bounds and, when created, the complete native size.
Changing size after show() resizes the visible window without moving it or taking focus. The coordinates remain widget-local; use centerIn() to reposition the native window.
| Parameter | Description |
|---|---|
x | Local horizontal origin. |
y | Local vertical origin. |
width | Requested total width, including the frame, subject to constraints. |
height | Requested total height, including the frame, subject to constraints. |
win.show() win.size = (1024, 768)