Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Text is black when using $set_style (Read 2888 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Text is black when using $set_style

Ok for some weird, weird reason, using set style with text makes the text black.

Not only that, but it is getting noticed as the selected colour is what I specify it.

Here's the string for the column:

Code: [Select]
$if(%_isplaying%,
    $set_style(text,000000,000000)
    $set_style(back,FFFFFF,FFFFFF)
    $set_style(frame-top,1,222222)
    $set_style(frame-bottom,1,222222)
    $set_style(frame-right,1,222222)
,

$select(%tracknumber%,
$set_style(text,646464,FFFFFF)
$set_style(back,D2D2D2,000000)
$puts(isdone,1)
,
)

$if($strcmp($get(isdone),1),,
$set_style(text,787878,FFFFFF)
$set_style(frame-top,1,C8C8C8)
$ifequal($mod(%_playlist_number%,2),0,
$set_style(back,E6E6E6,000000)
,
$set_style(back,F0F0F0,000000)
)
)    
)
hi

Text is black when using $set_style

Reply #1
Don't you need the little box before and after the hex notation?  I'm not sure how to make one...try converting the values to rgb.
Is over the of = % over 100

Text is black when using $set_style

Reply #2
Not in set style :|

Here's the wiki entry for it:

http://music.morbo.org/wiki/columns_ui:config:colour_string


And afaik I'm following it to the book.

I also have another similar string in a different column that works perfectly unless I use if2 instead of if,, (which is also effing weird).
hi


 

Text is black when using $set_style

Reply #4
Interesting, disabling globals fixed it :S

Thanks btw <3
hi