C4 Engine
C4 Engine API Documentation

Widget::SetWidgetSize

Defined in:  C4Widgets.h
Sets the widget width and height.
Prototype

virtual void SetWidgetSize(const Vector2D& size);

Parameters
size The new widget size, in pixels.
Description
The SetWidgetSize function sets the size of a widget. The x and y components of the size parameter specify the width and height of the widget in pixels.
See Also

Widget::GetWidgetSize