Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

Fade label controls align suddenly not working anymore

$
0
0
Hello there,

I'm currently porting over the OSMC Skin to v21 Omega and a strange thing has shown up: Suddenly fade label controls that I used an <align>right</align> tag with are interpreting the align tag in a weird way.
I understand that, although the wiki doesn't mention the align tag for the fade label, the functionality has been added way back and hasn't been removed since: fixed: <align>center</align> and <align>right</align> weren't working for single-label fadelabels The code is still present in the current master branch: GUIFadeLabelControl.cpp

A code example from the OSMC Skin:
xml:
<control type="fadelabel">
   <width>200</width>
   <height>36</height>
   <align>right</align>
   <font>Font36</font>
   <label>557</label>
   <textcolor>$VAR[TextColorNF]</textcolor>
</control>

This very control used to be rendered aligned to the right and with scrolling under v20:
Image

And now the very same code produces this on screen under Beta 2 of v21:
Image

Am I doing something wrong or might this be a bug?

Viewing all articles
Browse latest Browse all 1803

Trending Articles