Skip to content

Widget_Methods_alignments

ben-mkiv edited this page Feb 14, 2019 · 6 revisions

Alignment

aligns the widget on the specific side at the current renderlocation

widget.setHorizontalAlign(String:alignment)
-- sets the horizontal alignment
-- valid values: [left, center, right]

widget.setVerticalAlign(String:alignment)
-- sets the vertical alignment
-- valid values: [top, middle, bottom]

preview

white dot/cube represents the render location

Alignment 3D Space Alignment 2D Space

Clone this wiki locally