Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4831

Skin engine. Minor improvements, bug fixes for skin.properties support

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Major Major
    • 1.16.100
    • 1.15.0
    • Skin Engine

    Description

      <p>1.&nbsp;<b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">#highlightedbutton</b><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">&nbsp;return wrong value if Button text label It contains a complex expression with the use of skin properties.&nbsp;</span><br style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">
      <span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">Like:</span></p>

      <div class="bbCodeBlock bbCodeCode" style="margin: 0.5em 145px 0.5em 1em; padding: 0px; border: 1px solid rgb(195, 212, 222); border-radius: 2px; overflow: auto; font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px; color: rgb(84, 84, 84) !important;">
      <div class="type" style="margin: 0px; padding: 3px 8px; font-size: 12px; color: rgb(3, 50, 81); background-color: rgb(228, 240, 247); font-family: Lato, &quot;Trebuchet MS&quot;, Helvetica, Arial, sans-serif; border-bottom: 1px solid rgb(195, 212, 222); border-top-left-radius: 2px; border-top-right-radius: 2px;">Code (XML):</div>

      <div class="code" style="margin: 0px; padding: 10px; font-size: 10pt; font-family: Consolas, &quot;Courier New&quot;, Courier, monospace; background-color: rgb(240, 247, 252); border-radius: 3px; word-wrap: normal; overflow: auto; line-height: 1.24; min-height: 30px; max-height: 500px; direction: ltr; white-space: nowrap;">
      <ol class="xml" style="margin: 1em 0px 1em 3em; padding-right: 0px; padding-left: 0px; color: lightgrey; user-select: none; font-family: monospace;">
      <li style="margin: 0px; padding: 0px; list-style: decimal outside; vertical-align: top;">
      <div style="margin: 0px; padding: 0px; color: grey; user-select: text; font-stretch: normal; font-size: 1em; line-height: 1.2em; background: none; vertical-align: top;"><span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;label&gt;</span></span>#(iif(eq(#skin.tile1cne,'True'),'#tile1plugin.name','#tile1.name'))<span style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 0, 0); font-weight: bold;">&lt;/label&gt;</span></span></div>
      </li>
      </ol>
      </div>
      </div>

      <p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">The property returns a value such as:&nbsp;</span><b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">#(iif(eq(True,'True'),'sometext1','sometext2'))</b><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">&nbsp;- Instead value of this expression, as does the label. Like:&nbsp;</span><b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">sometext1</b></p>

      <p><b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;"></b>2.&nbsp;<span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">Conditional Visibility and string.</span><b style="margin-top: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">equals</b><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">, string.</span><b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">contains</b><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">, string.</span><b style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">starts&nbsp;</b><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">with skin properties as second parameters not work.</span></p>

      <p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica-Neue, Arial, sans-serif; font-size: 14.3px;">More info:&nbsp;</span><a href="http://forum.team-mediaportal.com/threads/conditional-visibility-and-string-equals-string-contains-string-starts-with-skin-properties.135433/">http://forum.team-mediaportal.com/threads/conditional-visibility-and-string-equals-string-contains-string-starts-with-skin-properties.135433/&lt;/a&gt;&nbsp;&lt;/p>

      <p>3.&nbsp;Conditional Visibility with skin properties as parameters in functions such: control.<b>hasfocus</b>,&nbsp;control.<b>isvisible</b>, etc not work.</p>

      <p>More Info:&nbsp;<a href="http://forum.team-mediaportal.com/threads/conditional-visibility-with-skin-properties.135418/">http://forum.team-mediaportal.com/threads/conditional-visibility-with-skin-properties.135418/&lt;/a&gt;&nbsp;&lt;/p>

      Attachments

        Activity

          People

            ajs Andrew J.Swan
            ajs Andrew J.Swan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: