Metal Termite:
There were a few earlier versions of this component where fonts were specified in pixel size, however afaik fonts are already changed to point size instead of pixel. Does $font(tahoma,8,,) not give you the same size text as other panels displaying Tahoma 8pt font? If not, make sure you have a recent version of this component and post some code and screenshots demonstrating the problem.
EddieFAF,Ken-chan,Eliott:
I think the problem with the disappearing text is being caused by the use of the $padding() function all that padding is adding up and if you shrink your panel I think it's clipping off the text. The progress bar itself is not affected because it uses absolute alignment. I have merged all your code and rewritten it using $alignabs() instead of $align() and $padding():
// Common Variables
$puts(progress,$muldiv(100,%playback_time_seconds%,%length_seconds%))
$puts(offset.x,20)
$puts(offset.top,10)
$puts(offset.bottom,40)
// Main Text
$font(tahoma,7,,)
$alignabs($get(offset.x),$get(offset.top),%_width%,%_height%,,)[%album%]
$alignabs($get(offset.x),$add($get(offset.top),10),%_width%,%_height%,,)[Track %tracknumber%]
$alignabs($get(offset.x),$add($get(offset.top),20),%_width%,%_height%,,)[%date%]
$alignabs($sub(%_width%,$mul($get(offset.x),2)),$get(offset.top),%_width%,%_height%,,)[CD %discnumber%]
//$alignabs($sub(%_width%,$mul($get(offset.x),2)),$add($get(offset.top),10),%_width%,%_height%,,)[]
$alignabs($sub(%_width%,$mul($get(offset.x),2)),$add($get(offset.top),20),%_width%,%_height%,,)[%genre%]
// Progress Bar
$drawrect($get(offset.x),$sub(%_height%,$get(offset.bottom)),$sub(%_width%,$mul($get(offset.x),2)),10,brushcolor-null pencolor-255-255-255)
$ifgreater($get(progress),0,
$drawrect($get(offset.x),$sub(%_height%,$sub($get(offset.bottom),2)),$muldiv($get(progress),$sub(%_width%,$mul($get(offset.x),2)),100),6,brushcolor-255-255-255 pencolor-null)
,)
// Progress Text
$font(tahoma,7,,)
$alignabs($get(offset.x),$sub(%_height%,$get(offset.bottom)),%_width%,%_height%,,)[%_time_elapsed%]
$alignabs($div($sub(%_width%,$calcwidth($upper(%_trackinfo_mode%))),2),$sub(%_height%,$get(offset.bottom)),%_width%,%_height%,,)[$upper(%_trackinfo_mode%)]
$alignabs($sub(%_width%,$calcwidth(%length%),$get(offset.x)),$sub(%_height%,$get(offset.bottom)),%_width%,%_height%,,)[%length%]
// Bottom Text
$font(Lucida Sans Unicode,8,bold,100-100-100)
$alignabs($get(offset.x),$sub(%_height%,16),%_width%,%_height%,,)
$upper(%bitrate% %codec% %channels% - $if(%play_count%,$if($strcmp(%play_count%,1),PLAYED 1 TIME,PLAYED %play_count% TIMES),NOT PLAYED YET))
Hopefully atleast one of you will find this helpful.