Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

left Property

Developers.QuiXleft History

Hide minor edits - Show changes to markup

June 08, 2006, at 03:50 PM by Tassos Koutsovassilis -
Changed line 21 from:
calculatedA string expression that once evaluated, returns the widget's left offset.
For instance, a value of "this.parent.getWidth()-this.getWidth(true)" aligns the current widget right aligned.
to:
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.
June 08, 2006, at 03:49 PM by Tassos Koutsovassilis -
Changed lines 1-4 from:

title top Property

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

to:

(:title 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.

Changed line 9 from:

<qx:rect xmlns:qx="http://www.innoscript.org/quix" top="10%">

to:

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

Changed lines 12-13 from:
JavaScriptwidget.top = "10%";
to:
JavaScriptwidget.left = "10%";
Changed lines 16-17 from:

The top property can be of the following types:

to:

The left property can be of the following types:

Changed lines 19-22 from:
lengthInteger that specifies the widget's top offset in in pixels.
percentageAn integer followed by the "%" sign. The offset is calculated as a percentage of the height of the parent widget.
calculatedA string expression that once evaluated, returns the widget's top offset.
For instance, a value of "this.parent.getHeight()-this.getHeight(true)" aligns the current widget on its parent's bottom line.
centerIf the top property is set to "center" the widget becomes horizontally centered inside its parent's client area.
to:
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)" aligns the current widget right aligned.
centerIf the left property is set to "center" the widget becomes vertically centered inside its parent's client area.
June 08, 2006, at 03:46 PM by Tassos Koutsovassilis -
Changed line 22 from:
centerIf the top property is set to "center" the widget becomes horizontally centered in its parent client area.
to:
centerIf the top property is set to "center" the widget becomes horizontally centered inside its parent's client area.
June 08, 2006, at 03:45 PM by Tassos Koutsovassilis -
Changed lines 21-22 from:
calculatedA string expression that once evaluated, returns the widget's top offset.
For instance, a value of "this.parent.getHeight()-this.getHeight(true)" aligns the current widget to its parent's bottom.
to:
calculatedA string expression that once evaluated, returns the widget's top offset.
For instance, a value of "this.parent.getHeight()-this.getHeight(true)" aligns the current widget on its parent's bottom line.
centerIf the top property is set to "center" the widget becomes horizontally centered in its parent client area.
June 08, 2006, at 03:42 PM by Tassos Koutsovassilis -
Added lines 1-21:

(:title top Property:)

Sets or retrieves the position of the widget relative to the top 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" top="10%">
</qx:rect>
JavaScriptwidget.top = "10%";

Possible values

The top property can be of the following types:

lengthInteger that specifies the widget's top offset in in pixels.
percentageAn integer followed by the "%" sign. The offset is calculated as a percentage of the height of the parent widget.
calculatedA string expression that once evaluated, returns the widget's top offset.
For instance, a value of "this.parent.getHeight()-this.getHeight(true)" aligns the current widget to its parent's bottom.
Page last modified on June 08, 2006, at 03:50 PM