Here's a code example, just put this in a fresh track display:
$alignabs(10,15,$eval(%_width%-20),50,left,top)
$font($getpvar(nowplayfont),20,bold $ifequal($getpvar(global.background),1,shadow,),$getpvar(nowplayfontcol))
Installation of FofR Configuration '('v 1.0')'
$alignabs(10,45,$eval(%_width%-20),$eval(%_height%-95),left,top)
$font(,12, $ifequal($getpvar(global.background),1,shadow,),)
Designed for and tested with PanelsUI version 0.13.7. Time to perform some quick diagnostics:$char(10)$char(10)
$font(,12, $ifequal($getpvar(global.background),1,shadow,),)
Calibri:
$if($fontexists(Calibri),
$font(,,,16-157-9)Installed
,
$font(,,,152-22-3)Missing
$button2(120,106,0,0,$calcwidth(Download),$calcheight(H),'$font(,,,152-22-3)Download','$font(,,underline,152-22-3)Download',EXEC:'http://www.microsoft.com/downloads/details.aspx?FamilyId=941B3470-3AE9-4AEE-8F43-C6BB74CD1466&displaylang=en',TOOLTIP:"Download Windows Compatibility Pack with Calibri Font")
)
$char(10)
$font(,12, $ifequal($getpvar(global.background),1,shadow,),$getpvar(nowplayfontcol))Arial: $if($fontexists(Arial),$font(,,,16-157-9)Installed,$font(,,,152-22-3)Missing$button2(185,125,0,0,$calcwidth(Download),$calcheight(H),'$font(,,,152-22-3)Download','$font(,,underline,152-22-3)Download',EXEC:'http://www.urbanfonts.com/fonts/BigNoodleTitling.htm',TOOLTIP:"Download BigNoodleTitling Font for Windows"))$char(10)
$char(10)$char(10)
lots of text yadda yadda lots of text yadda yadda lots of text yadda yadda lots of text yadda yadda $char(10) lots of text yadda yadda lots of text yadda yadda lots of text yadda yadda lots of text yadda yadda $char(10)
When the first $if statement is not true, the font changes to red, and a button is displayed linking to a download. However, the presence of this button causes this:
When I comment out the conditional $button2 everything displays as it should: