Syntax
Success = LayoutSetPaddingTop(Layout, Padding)Description
Sets the padding for the top 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 top 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
top 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 top padding, leaving other sides unchanged. The layout is automatically updated after changing the padding.
See Also
LayoutGetPaddingTop, LayoutSetPadding, LayoutSetPaddingRight, LayoutSetPaddingBottom, LayoutSetPaddingLeft
Supported OS
Windows, Linux