Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

height Property

Gets or sets the widget's height. For the new height 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" height="100%">
</qx:rect>
JavaScriptwidget.height = "100%";

Possible values

The height property can be of the following types:

lengthInteger that specifies the widget's height in pixels.
percentageAn integer followed by the "%" sign. The value is a percentage of the height of the parent widget.
calculatedA string expression or function that once evaluated or called, returns the widget's height.
For instance, a value of "this.parent.getHeight(true)-30" makes the current widget 30 pixels shorter than its parent.

Page last modified on February 18, 2007, at 08:32 PM