User:Jcreer/SMS:DMI Text Elements: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
(Created page with "=====Element ''<color>''===== {|class="wikitable" |- |width="70"|'''Info''' |width="530"|The color of an item, expressed in red, green and blue values ranging from 0 to 255....") |
|||
Line 28: | Line 28: | ||
<text_style> | <text_style> | ||
|} | |||
=====Element ''<edit_box>''===== | |||
{|class="wikitable" | |||
|- | |||
|width="70"|'''Info''' | |||
|width="530"| Widget that displays text or numbers. If [[SMS:Dynamic Model Interface Schema#Element <type>|<type>]] not specified, default to double. | |||
|- | |||
|'''Versions''' | |||
| 1, 2 | |||
|- | |||
|'''Attributes''' | |||
|none | |||
|- | |||
|'''Children''' | |||
|width="530"| [[SMS:Dynamic Model Interface Schema#Element <type>|type]], [[SMS:Dynamic Model Interface Schema#Element <default>|default]], [[SMS:Dynamic Model Interface Schema#Element <unique_name>|unique_name]], [[SMS:Dynamic Model Interface Schema#Element <range>|range]], [[SMS:Dynamic Model Interface Schema#Element <optional>|optional]], [[SMS:Dynamic Model Interface Schema#Element <dependency>|dependency]], [[SMS:Dynamic Model Interface Schema#Element <text_style>|text_style]] | |||
|- | |||
|'''Used by''' | |||
| [[SMS:Dynamic Model Interface Schema#Element <item>|item]], [[SMS:Dynamic Model Interface Schema#Element <row>|row]], [[SMS:Dynamic Model Interface Schema#Element <column>|column]] | |||
|- | |||
|'''Example''' | |||
|width="530"| | |||
<edit_box> | |||
<type>double</type> | |||
<range>0, 2.2</range> | |||
<default>1.0 </default> | |||
<unique_name>edtBox5</unique_name> | |||
<optional></optional> | |||
<dependency>…</dependency>… | |||
</ edit_box | |||
|} | |} |
Revision as of 22:37, 4 March 2015
Element <color>
Info | The color of an item, expressed in red, green and blue values ranging from 0 to 255. All 0 values for red, green and blue is black. Added in SMS 11.2. |
Versions | 1, 2 |
Attributes | none |
Children | red, green, blue |
Used by | text_style |
Example |
This would change the text to a bright red color. <text_style> <color> <red>255</red> <green>0</green> <blue>0</blue> </color> <text_style> |
Element <edit_box>
Info | Widget that displays text or numbers. If <type> not specified, default to double. |
Versions | 1, 2 |
Attributes | none |
Children | type, default, unique_name, range, optional, dependency, text_style |
Used by | item, row, column |
Example |
<edit_box> <type>double</type> <range>0, 2.2</range> <default>1.0 </default> <unique_name>edtBox5</unique_name> <optional></optional> <dependency>…</dependency>… </ edit_box |