-
Notifications
You must be signed in to change notification settings - Fork 2
Widgets RECTANGLE
thica edited this page Jan 10, 2020
·
6 revisions
The rectangle widget creates a colored rectangle. You could add click/double click and wipe actions as well. There are only a few attributes for the rectangle widget.
The following attributes are additional attributes to common widget attributes
Attribute | Description |
---|---|
type | fixed: needs to be "RECTANGLE". Capital letters! |
backgroundcolor | The background color of the rectangle in hexadecimal RGBA format. It has to start with a pound sign (eg: #ff00ffff). Please use only low capital chars. |
Below you see an example for a rectangle
<element name="Rectangle 1" type="RECTANGLE" posx="%70" posy="%10" width="%8" height="of:width:self:*1.2" backgroundcolor='#00FF0040' />