Text Box: Difference between revisions
Jump to navigation
Jump to search
>DonJ No edit summary |
>Jmarshall No edit summary |
||
Line 2: | Line 2: | ||
===Example=== | ===Example=== | ||
<xml> | <xml> | ||
<control> | <control type="textbox" id="2"> | ||
<description>My first text box control</description> | <description>My first text box control</description> | ||
<posx>80</posx> | <posx>80</posx> | ||
<posy>60</posy> | <posy>60</posy> | ||
Line 14: | Line 12: | ||
<font>font13</font> | <font>font13</font> | ||
<textcolor>FFFFFFFF</textcolor> | <textcolor>FFFFFFFF</textcolor> | ||
<pulseonselect></pulseonselect> | <pulseonselect></pulseonselect> | ||
< | <pagecontrol>13</pagecontrol> | ||
</control> | </control> | ||
</xml> | </xml> | ||
===Available Tags=== | ===Available Tags=== | ||
Note that each tag is '''lower case | In addition to the [[Default Control Tags]] the following tags are available. Note that each tag is '''lower case''' only. This is important, as xml tags are case-sensitive. | ||
{| class="dtable" | {| class="dtable" | ||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | '''font''' | | class="usercell" | '''font''' | ||
Line 67: | Line 24: | ||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | '''textcolor''' | | class="usercell" | '''textcolor''' | ||
| class="usercell" | Color used for displaying the text. In AARRGGBB hex format. | | class="usercell" | Color used for displaying the text. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]] | ||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | '''shadowcolor''' | | class="usercell" | '''shadowcolor''' | ||
| class="usercell" | Specifies the color of the drop shadow on the text | | class="usercell" | Specifies the color of the drop shadow on the text. In AARRGGBB format, or a name from the [[Colour Themes|colour theme.]] | ||
| | |||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | ''' | | class="usercell" | '''pagecontrol''' | ||
| class="usercell" | | | class="usercell" | Specifies the <id> of the page control used to control this textbox. The page control can either be a [[Spin Control]] or a [[Scroll Bar Control]]. | ||
|} | |} | ||
[[category:Skin Development]] | [[category:Skin Development]] |
Revision as of 06:32, 24 July 2007
The text box is used for showing a large multipage piece of text in XBMC. You can choose the position, size, and look of the text.
Example
<xml> <control type="textbox" id="2">
<description>My first text box control</description> <posx>80</posx> <posy>60</posy> <width>250</width> <height>200</height> <visible>true</visible> <colordiffuse>FFFFFFFF</colordiffuse> font13 <textcolor>FFFFFFFF</textcolor> <pulseonselect></pulseonselect> <pagecontrol>13</pagecontrol>
</control> </xml>
Available Tags
In addition to the Default Control Tags the following tags are available. Note that each tag is lower case only. This is important, as xml tags are case-sensitive.
font | Font used for the items first label. From fonts.xml. |
textcolor | Color used for displaying the text. In AARRGGBB hex format, or a name from the colour theme. |
shadowcolor | Specifies the color of the drop shadow on the text. In AARRGGBB format, or a name from the colour theme. |
pagecontrol | Specifies the <id> of the page control used to control this textbox. The page control can either be a Spin Control or a Scroll Bar Control. |