Navigation
Synopsis Horizontal alignment.
Function FProperty halign(num h)
Description Set the horizontal alignment to h.

Also see align and CompositionModel.
Examples
b1 = box(size(100,50), halign(0), resizable(false), fillColor("Red"));
b2 = box(b1, size(150, 100));
render(b2);
a1

b1 = box(size(100,50), halign(1), resizable(false), fillColor("Red"));
b2 = box(b1, size(150, 100));
render(b2);
a2
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.