Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

left Property

Developers.QuiXleft History

Hide minor edits - Show changes to output

June 08, 2006, at 03:50 PM by Tassos Koutsovassilis -
Changed line 21 from:
|| ''calculated'' ||A 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:
|| ''calculated'' ||A 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 "[[(Developers.QuiX)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 "[[(Developers.QuiX)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:
||!`JavaScript||widget.'''top''' = "10%"; ||
to:
||!`JavaScript||widget.'''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:
|| ''length'' ||Integer that specifies the widget's top offset in in pixels.||
|| ''percentage'' ||An integer followed by the "%" sign. The offset is calculated as a percentage of the height of the parent widget.||
|| ''calculated'' ||A 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.||
|| ''center'' ||If the ''top'' property is set to "'''center'''" the widget becomes horizontally centered inside its parent's client area.||
to:
|| ''length'' ||Integer that specifies the widget's left offset in pixels.||
|| ''percentage'' ||An integer followed by the "%" sign. The offset is calculated as a percentage of the width of the parent widget.||
|| ''calculated'' ||A 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.||
|| ''center'' ||If 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:
|| ''center'' ||If the ''top'' property is set to "'''center'''" the widget becomes horizontally centered in its parent client area.||
to:
|| ''center'' ||If 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:
|| ''calculated'' ||A 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:
|| ''calculated'' ||A 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.||
|| ''center'' ||If 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 "[[(Developers.QuiX)redraw]]" method.

!!Syntax

||cellspacing=1 cellpadding=4 border=1 bgcolor=#ededed
||!`QuiX XML||[@
<qx:rect xmlns:qx="http://www.innoscript.org/quix" top="10%">
</qx:rect>
@]||
||!`JavaScript||widget.'''top''' = "10%"; ||

!! Possible values

The ''top'' property can be of the following types:

||cellspacing=1 cellpadding=4 border=1 bgcolor=#ededed
|| ''length'' ||Integer that specifies the widget's top offset in in pixels.||
|| ''percentage'' ||An integer followed by the "%" sign. The offset is calculated as a percentage of the height of the parent widget.||
|| ''calculated'' ||A 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