Help - Search - Members - Calendar
Full Version: I just need some Panels UI help
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
evilmonky204
Well, as you can see in this screenshot: IPB Image , I am using panels UI for foobar.

It's a great plugin, but I just have a couple basic questions. Does anyone know how I can get rid of the bottom set of buttons (play, pause) to put my quicksearch plugin there, how to get rid of the total track number (3354 for example, on the left hand side of the player), and how to get rid of the menubar at the top? Thanks guys, any help at all is appreciated smile.gif
Yotsuya
It is difficult to give you specifics because you have not posted your existing code. However that appears to be very similar to the default PanelsUI layout.

To get rid of the bottom set of buttons from your layout remove this line from your code:
$panel(Buttons,Buttons,0,$sub(%_height%,21),190,21,)

To put a quicksearch plugin there replace that line of code with something like this:
$panel(Search,Quick Search Toolbar,0,$sub(%_height%,21),190,21,)

To get rid of the total track number open your single column playlist configuration and remove the reference to %list_index%.

To get rid of the menubar at the top go back to your panels ui configuration and remove a line that looks like this:
$panel(Menu,Menu,1,1,$sub(%_width%,2),19,)
This will, however, leave a hole in your layout so you will probably want to fill it with something. A quick solution would be to increase the size of your Track Display panel by changing this code:
CODE
$puts(yOffset,21)

$if(%_trackinfo_notrack%,
,
    $panel(Playing,Track Display,0,$get(yOffset),%_width%,50,)
    $puts(yOffset,71)
)

to something like this:
CODE
$puts(yOffset,1)

$if(%_trackinfo_notrack%,
,
    $panel(Playing,Track Display,0,$get(yOffset),%_width%,70,)
    $puts(yOffset,71)
)


I have taken the time to answer your questions because this is your first post. However these are very basic questions that have been covered in the main Panels UI Thread. In the future please search the forum before asking questions and ask those questions in an appropriate thread.
evilmonky204
Thank you very much, sorry about the mishaps there smile.gif
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.