LayoutSetPaddingRight

Syntax

Success = LayoutSetPaddingRight(Layout, Padding)

Description

Sets the padding for the right side of the specified layout container. Padding is the space between the layout's border and its content (child items).

Parameters

Layout
The handle of the layout object whose right padding is to be set. If #Null, it targets the current layout.

Padding
The amount of padding (in integer units, likely DIPs) to apply to the right side.

Return Value

Returns #True if the padding was successfully set, or #False if the layout handle was invalid.

Remarks

Use this function to set only the right padding, leaving other sides unchanged. The layout is automatically updated after changing the padding.

See Also

LayoutGetPaddingRight, LayoutSetPadding, LayoutSetPaddingTop, LayoutSetPaddingBottom, LayoutSetPaddingLeft

Supported OS

Windows, Linux