WidgetSetMarginBottom

Syntax

Success = WidgetSetMarginBottom(Widget, Margin)

Description

Sets the bottom margin for the specified widget. The margin is the space around the widget, outside its border.

Parameters

Widget
The handle of the ProGUI widget.

Margin
The bottom margin value (Integer) in device-independent pixels (DIPs).

Return Value

Returns #True if the margin was successfully set, or #False if the widget handle was invalid.

Remarks

Setting the margin triggers a layout update.

See Also

WidgetGetMarginBottom, WidgetSetMargin, WidgetSetMarginLeft, WidgetSetMarginTop, WidgetSetMarginRight

Supported OS

Windows, Linux