C4 Engine
C4 Engine API Documentation

TextWidget::SetTextAlignment

Defined in:  C4Widgets.h
Sets the initial alignment for a text widget.
Prototype

void SetTextAlignment(Slug::AlignmentType alignment);

Parameters
alignment The new text alignment.
Description
The SetTextAlignment function sets the alignment for a text widget. The default text alignment is Slug::kAlignmentLeft.
See Also

TextWidget::SetTextAlignment