FabGL
ESP32 Display Controller and Graphics Library

◆ uiLabel()

uiLabel ( uiWindow parent,
char const *  text,
const Point pos,
const Size size = Size(0, 0),
bool  visible = true,
uint32_t  styleClassID = 0 
)

Creates an instance of the object.

Parameters
parentThe parent window. A label must always have a parent window
textText of the label
posTop-left coordinates of the label relative to the parent
sizeThe label size. If Size(0, 0) then size is automatically calculated
visibleIf true the label is immediately visible
styleClassIDOptional style class identifier

Definition at line 3184 of file fabui.cpp.