MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laWidget_SetMargins Function
MPLAB® Harmony Graphics Suite
laWidget_SetMargins Function

Set the margin value for left, right, top and bottom margins associated with the widget. Margins are a generic property and it is up to the individual widget to implement them (or not).

C
LIB_EXPORT laResult laWidget_SetMargins(
    laWidget* wgt, 
    uint32_t left, 
    uint32_t top, 
    uint32_t right, 
    uint32_t bottom
);
Parameters
Parameters 
Description 
laWidget* wgt 
the widget 
uint32_t left 
the left margin value 
uint32_t top 
the top margin value 
uint32_t right 
the right margin value 
uint32_t bottom 
the bottom margin value 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite