Kodi Community Forum
Font colors via $VAR[]'s - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Font colors via $VAR[]'s (/showthread.php?tid=203327)

Pages: 1 2 3 4


RE: Font colors via $VAR[]'s - User 224999 - 2015-05-22

(2015-05-22, 12:16)Jayz2K Wrote: Maybe using the new include type (Isengard) ?

Code:
<include name="MyTextColor">
    <param name="textcolor" default="FFFFFFFF"/> <!--default acts like fallback-->
    <definition>
         <textcolor>$PARAM[textcolor]</textcolor>
    <definition>
</include>

and call it :

Code:
<include name="MyTextColor">
    <param name="textcolor" value="FF$INFO[Skin.String(selectedColor)]"/>
</include>

Didn't tried it so far but this should avoid the $VAR use.

Just tried... Nope.. not working either.


RE: Font colors via $VAR[]'s - Jayz2K - 2015-06-12

(2014-08-31, 23:18)removed151214 Wrote: Ingenious Smile Feels like I'm getting close to sorting this (with everyones wonderful help). That's got it working everywhere where I define the instances of the controls. Any idea how it could be extended to SettingsCategory.xml for example, where I just provide a default button, and so can't add [COLOR] tags into the label? Thanks again.

Up for this.

Facing (of course) the same problem.

I'm not Python coder at all but isn't it easier to allow the .xml files from Skin "colors" folder to handle $VAR or Skin.Strings. So colors can be called with their name without having to worry about controls code ? Just a though.

Thanks


RE: Font colors via $VAR[]'s - mkortstiege - 2015-08-01

Empty label2's should be fixed in todays nightly build.


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-01

(2015-08-01, 08:49)mkortstiege Wrote: Empty label2's should be fixed in todays nightly build.
Thanks for your time in this Smile


RE: Font colors via $VAR[]'s - User 224999 - 2015-08-01

(2015-08-01, 08:49)mkortstiege Wrote: Empty label2's should be fixed in todays nightly build.

Great! Thanks for looking into this, really appreciated.
Does this mean it's fixed for all controls that have a label2 property ? So button, edit etc.

And, by any chance is the issue with the textbox colors inside a container also fixed ?


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-01

I can confirm all Label2 and textboxes inside containers are fixed. Textboxes have been merged and should be available in tomorrow's Jarvis dev build if I'm not wrong ? Wink


RE: Font colors via $VAR[]'s - User 224999 - 2015-08-01

Wow, great. So many great stuff already added in v16.


RE: Font colors via $VAR[]'s - mkortstiege - 2015-08-01

(2015-08-01, 13:46)Jayz2K Wrote: I can confirm all Label2 and textboxes inside containers are fixed. Textboxes have been merged and should be available in tomorrow's Jarvis dev build if I'm not wrong ? Wink

Exactly, i merged it to master and backported to Isengard branch today. It would be awesome if you guys could grab tomorrows nightly and test.


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-01

(2015-08-01, 13:51)mkortstiege Wrote:
(2015-08-01, 13:46)Jayz2K Wrote: I can confirm all Label2 and textboxes inside containers are fixed. Textboxes have been merged and should be available in tomorrow's Jarvis dev build if I'm not wrong ? Wink

Exactly, i merged it to master and backported to Isengard branch today. It would be awesome if you guys could grab tomorrows nightly and test.
Count me in for sure Wink


RE: Font colors via $VAR[]'s - User 224999 - 2015-08-01

Will test tomorrow and report back


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-02

Tried the latest Jarvis dev build. Textboxes are fine. Label2 for built-in button in control built-in grouplists too but seems that Label 2 for sliderex in those grouplists is once again not showing (ex. VideoOSDSettings). Don't know what changed since your latest test build you sent me.

Can someone confirm please ?


RE: Font colors via $VAR[]'s - mkortstiege - 2015-08-02

Hmz, you're sure it worked in the test build?


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-02

I tried it on another computer. I have to install this build on the one I use today. But I'm pretty sure it worked. Will report when back Home.


RE: Font colors via $VAR[]'s - mkortstiege - 2015-08-02

Jayz2k, mind sharing a VideoOSDSettings so i am able to test and reproduce?


RE: Font colors via $VAR[]'s - Jayz2K - 2015-08-02

You can still use the modded Conq file I sent you through PM (the second one).