standard.settings.left

getElement(id).settings.left()

Makes the element appear horizontally aligned to the left (default).

Note: the left means the left of the container of the element, not necessarily the left of the screen.

Example:

[js highlight=”10″ try=”true”]newText(“helloworld”, “Hello world”)
.settings.right()
.print()
,
newButton(“left”, “Align text to the left”)
.print()
.wait()
,
getText(“helloworld”)
.settings.left()
[/js]

Prints Hello world onto the screen, horizontally aligned to the left.