Oh, It actually doesn't work either. I can however, place a variable and
static text inside a <Text> for a label and it works as expected. Might be
that variables are not processed for <Style> nodes?

2016-03-20 13:34 GMT+01:00 Ferran Pujol Camins <ferranpujolcam...@gmail.com>
:

> Oh, I thought it was supposed to work.
>
> Thank you for the help.
>
> 2016-03-20 0:12 GMT+01:00 Daniel Schürmann <dasch...@mixxx.org>:
>
>> Hi Ferran
>>
>> I guess the parser is not able to combine a static part + a variable.
>> Probably
>> <Style><Variable name="Color"/></Style>
>> with:
>> <Set*Variable* *name*="Color">background-color: #FF0000;</Set*Variable*>
>> will work.
>>
>> I did not read the code though ...
>>
>> Kind regards,
>>
>> Daniel
>>
>>
>>
>>
>> Am 19.03.2016 um 20:47 schrieb Ferran Pujol Camins:
>>
>> Hello, I've made a template and I'd like to configure a color via a
>> variable. I've tried:
>> <Style>background-color: <Variable name="Color"/>;</Style>
>> But for some reason it doesn't work.
>>
>> If I change <Variable name="Color"/> for #FF0000 it works. The variable
>> is correctly set because I can place a label that displays its content.
>>
>> What I am missing?
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn 
>> more.http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>>
>>
>>
>> _______________________________________________
>> Get Mixxx, the #1 Free MP3 DJ Mixing software Todayhttp://mixxx.org
>>
>>
>> Mixxx-devel mailing 
>> listMixxx-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>> _______________________________________________
>> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
>> http://mixxx.org
>>
>>
>> Mixxx-devel mailing list
>> Mixxx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>
>
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to