Getting padding

Getting the horizontal or vertical padding ​​of a control. This function can be used on all kinds of control.

ui_get_padding(control, padding);

Return: Real

Argument control is the control you want to adjust, while the padding is a real number of 0 to get horizontal padding and 1 for vertical padding.

results matching ""

    No results matching ""