1,554
edits
(add xml syntax highlighting here too) |
(→<widget> (local widget definition): -- described textalign widget property) |
||
Line 740: | Line 740: | ||
Parent: <tt><layout></tt><br /> | Parent: <tt><layout></tt><br /> | ||
Children: -<br /> | Children: -<br /> | ||
Properties: <tt>name</tt> (''required''), <tt>width</tt>, <tt>height</tt>, <tt>type</tt>, <tt>enabled</tt> | Properties: <tt>name</tt> (''required''), <tt>width</tt>, <tt>height</tt>, <tt>type</tt>, <tt>enabled</tt>, <tt>textalign</tt> | ||
===== Example ===== | ===== Example ===== | ||
Line 897: | Line 897: | ||
* <tt>type [string]</tt>: Global Widget Definition from which this widget will inherit its properties. | * <tt>type [string]</tt>: Global Widget Definition from which this widget will inherit its properties. | ||
* <tt>enabled [bool]</tt>: Sets whether this widget is enabled. Defaults always to true. May be used to disable widgets on certain resolutions. | * <tt>enabled [bool]</tt>: Sets whether this widget is enabled. Defaults always to true. May be used to disable widgets on certain resolutions. | ||
* <tt>textalign [string]</tt>: Sets horizontal alignment of text on this widget. Allowed values are <tt>left</tt>, <tt>right</tt> and <tt>center</tt>. Default value is <tt>left</tt>. |