From Porcupine wiki

Developers: left Property

Sets or retrieves the position of the widget relative to the left of its parent widget. For the new offset to be applied, you need to redraw the widget by calling its "redraw" method.

Syntax

QuiX XML
<qx:rect xmlns:qx="http://www.innoscript.org/quix" left="10%">
</qx:rect>
JavaScriptwidget.left = "10%";

Possible values

The left property can be of the following types:

lengthInteger that specifies the widget's left offset in pixels.
percentageAn integer followed by the "%" sign. The offset is calculated as a percentage of the width of the parent widget.
calculatedA string expression that once evaluated, returns the widget's left offset.
For instance, a value of "this.parent.getWidth()-this.getWidth(true)" makes the current widget right aligned.
centerIf the left property is set to "center" the widget becomes vertically centered inside its parent's client area.
Retrieved from http://wiki.innoscript.org/pmwiki.php/Developers/QuiXleft
Page last modified on June 08, 2006, at 03:50 PM