GetClientSize

This function gets the client size of a widget. The client size is the padded area inside a widget in which child widgets can be created.

By default the function will return logical coordinates that are unaffected by GUI scaling. You should always use logical coordinates when creating, positioning, and resizing widgets. Logical coordinates are based on typical sizing for a 1080p computer monitor.

If scaled coordinates are specified, the actual pixel size will be returned.

Syntax

Parameters

Returns

Returns the client size.