label and fadelabel do not display text if centered (1 Viewer)

gamejester

Retired Team Member
  • Premium Supporter
  • May 13, 2007
    418
    37
    Home Country
    United Kingdom United Kingdom
    If you use a fadelabel or a label and set the width smaller than the size of the text to display then it is blank if you set allignment to center; but if you use left or right the text appears and is correctly truncated.

    Example sking file, I used it myVideos section but assume the bug exists in any screen.

    <control>
    <description>Selected item Label</description>
    <type>fadelabel</type>
    <id>51</id>
    <animation effect="fade" time="400">WindowClose</animation>
    <animation effect="fade" time="400">WindowOpen</animation>
    <posX>40</posX>
    <posY>132</posY>
    <width>260</width>
    <label>this is a really longgggggggggggg label so there it is you inow</label>
    <font>font18</font>
    <align>center</align>
    <textcolor>ffffffff</textcolor>
    </control>


    <control>
    <description>Selected item Label</description>
    <type>fadelabel</type>
    <id>51</id>
    <animation effect="fade" time="400">WindowClose</animation>
    <animation effect="fade" time="400">WindowOpen</animation>
    <posX>40</posX>
    <posY>172</posY>
    <width>260</width>
    <label>this is a really longgggggggggggg label so there it is you inow</label>
    <font>font18</font>
    <align>left</align>
    <textcolor>ffffffff</textcolor>
    </control>
     

    Darre

    Portal Pro
    April 21, 2007
    925
    80
    Home Country
    Norway Norway
    I guess this is down the same street;

    If you set a fadelabel closer to the left edge of the screen then <posX>20</posX>, It gets invisible in short glimts. Doesnt look good at all.
    You can test this with for example the rss ticker plugin by moving the rss feed towards the left.

    Hope its ok I posted this in the same thread.
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    2,019
    805
    South Central Wisconsin
    Home Country
    United States of America United States of America
    I had the issue with the centered fadelabel being longer than the box width. The text would flicker and pause frequently, then scroll, but only displaying the lower half of the text.

    I think I suggested maybe to auto align-left any text that was longer than the box. It was a few weeks ago.

    Chuck
     

    Users who are viewing this thread

    Top Bottom