My group display looks like this:
$drawrect(0,0,0,0,brushcolor-35-35-35 pencolor-0-0-0)
$alignabs(100,5,$add(%_width%,-107),30,left,top)
$font(tahoma,15,bold,200-200-200)
$if2(%album artist%,%artist%)
$font(tahoma,12,bold,200-200-200)%album%
blah blah blah
Which gives a look like this:
As you can see in the group display, it's %artist% %album% (in the smaller font). This works great, however on really long artist and album titles, like "Agoraphobic Nosebleed - PCP Torpedo & ANbRX" the text is too wide for the single column playlist. Is there any way to make ellipses for "%artist% %album%" that is too wide to fit in the column? If not ellipses, is there a way to use $cut(x,y) that would encapsulate %artist% and %album%?
Thank you.
edit:
Yotsuya gave me the following sample code:
$drawrect(0,0,0,0,brushcolor-35-35-35 pencolor-0-0-0)
$alignabs(100,5,$add(%_width%,-107),30,left,top)
$left(
$font(tahoma,15,bold,200-200-200)
$if2(%album artist%,%artist%)
$font(tahoma,12,bold,200-200-200)
%album%
,30)
$ifgreater($len(
$font(tahoma,15,bold,200-200-200)
$if2(%album artist%,%artist%)
$font(tahoma,12,bold,200-200-200)
%album%
),30,...,)
However, $left() applies to the text inside the parenthesis, not the variable %album%.