home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning question
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="doskabouter" data-source="post: 879130" data-attributes="member: 98267"><p>Visibility icw string.equals works great!</p><p> </p><p>However, <height>iif(string.equals(#btWeb.statusvisible, true), 576, 476)</height> gives me a "GUIControlFactory.Create: iif(string.equals(#btWeb.StatusVisible, true), 576, 476) is not a valid value for Int32."</p><p> </p><p>So I have to calculate the remaining space according to the height of the statuslabel.</p><p> </p><p>There wasn't any height specified, so I added it.</p><p>Result is</p><p>[CODE]</p><p> <control></p><p> <description>Status label</description></p><p> <type>label</type></p><p> <id>9</id></p><p> <posX>7</posX></p><p> <posY>540</posY></p><p> <label>#btWeb.status</label></p><p> <font>font12</font></p><p> <align>left</align></p><p> <textcolor>ffffffff</textcolor></p><p> <height>36</height></p><p> <visible>string.equals(#btWeb.statusvisible, true)</visible></p><p> </control></p><p>[/CODE]</p><p> </p><p>Is it according to <s>specs</s>guidelines to have a height on a label for this purpose?</p><p>And should I use the size specified in</p><p>[CODE]</p><p> <control></p><p> <description>background image</description></p><p> <type>image</type></p><p> <id>1</id></p><p> <width>720</width></p><p> <height>576</height></p><p> </control></p><p>[/CODE]</p><p>or should I add a new control with an id of <some random value>?</p></blockquote><p></p>
[QUOTE="doskabouter, post: 879130, member: 98267"] Visibility icw string.equals works great! However, <height>iif(string.equals(#btWeb.statusvisible, true), 576, 476)</height> gives me a "GUIControlFactory.Create: iif(string.equals(#btWeb.StatusVisible, true), 576, 476) is not a valid value for Int32." So I have to calculate the remaining space according to the height of the statuslabel. There wasn't any height specified, so I added it. Result is [CODE] <control> <description>Status label</description> <type>label</type> <id>9</id> <posX>7</posX> <posY>540</posY> <label>#btWeb.status</label> <font>font12</font> <align>left</align> <textcolor>ffffffff</textcolor> <height>36</height> <visible>string.equals(#btWeb.statusvisible, true)</visible> </control> [/CODE] Is it according to [S]specs[/S]guidelines to have a height on a label for this purpose? And should I use the size specified in [CODE] <control> <description>background image</description> <type>image</type> <id>1</id> <width>720</width> <height>576</height> </control> [/CODE] or should I add a new control with an id of <some random value>? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning question
Contact us
RSS
Top
Bottom