Help - Search - Members - Calendar
Full Version: foo_uie_graphical_browser
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5
pepito
Hello,
I have a question about the pop-up
When the title of a song is too long then the display is all mess up
I mean the rest of the title is under but messed with the next line
I tried to expand the pop-up to enlarge the space between lines without
results. The pop-up is bigger but the lines stay still

IPB Image


So,where in the code I can change this ?
thank you
CepiPerez
QUOTE(pepito @ May 19 2008, 14:47) *

Hello,
I have a question about the pop-up
When the title of a song is too long then the display is all mess up
I mean the rest of the title is under but messed with the next line
I tried to expand the pop-up to enlarge the space between lines without
results. The pop-up is bigger but the lines stay still

IPB Image


So,where in the code I can change this ?
thank you
Why don't you ask me?
You must modify "Per track (Popup)" code:
this is the first line:
$set_org(10,$add($mul(15,%gb_track_index%),68)) --> space between lines (try 30 or more)
And this is the last line:
$gp_draw_string($add(%gb_track_index%,1) $upper(%title%),0,0,%gb_width%,18) --> text height (put 30 or more for 2 lines)
pepito
Thank you Cépi
I am also on your thread of course,but I am waiting for answers there too
So I don't want to exagerate and trying not bother you every minute
anyway a big thanks !!!

EDIT : 22 was the best wink.gif with a pop-up at 240 and the "MORE" at 225
and it shows 7 titles
Btw I made the pop-up also in left panel laugh.gif
Light
hi, i would like my pop up tracks to be the same as the album name, check out the pic:

IPB Image

my popup track code is like this:

CODE

$set_org(4,$mul(15,%gb_track_index%))
$if(%gb_isplaying%,$gp_set_brush(255-255-0-0),$gp_set_brush(255-255-255-255))
$gp_set_font(Calibri,9,b)
$gp_set_pen(255-255-255-255,3,5,round)
$gp_set_brush(255-255-255-0)
$gp_set_string_format(center,center)

$gp_set_text_rendering_hint(aa)
$gp_draw_string($add(%gb_track_index%,1). %title%,0,42,$eval(%gb_width%-38),15)
$gp_draw_string(%length%,$eval(%gb_width%-38),42,36,15)


how do i get the tracklisting to have a different bordercolour? I read somewhere it could be done with the gp_set_brush, or pen, but i've been trying and i dont get it to work...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.