Label.xalign

float xalign() @property nothrow

Get xalign property.

Returns

The horizontal alignment of the label text inside its size allocation.

Compare this to gtk.widget.Widget.halign, which determines how the labels size allocation is positioned in the space available for the label.

void xalign(float propval) @property nothrow

Set xalign property.

Parameters

propvalThe horizontal alignment of the label text inside its size allocation. Compare this to gtk.widget.Widget.halign, which determines how the labels size allocation is positioned in the space available for the label.