HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: Curly on 2013-03-20 11:15:45

Title: Artist Filter / WSH Panel Mod
Post by: Curly on 2013-03-20 11:15:45
Hi!

I'm having trouble with my "filter" in Columns UI because it can't be modified to fit the rest of my player. I'll post a screenshot to show what I mean;

(http://oi46.tinypic.com/33e52cj.jpg)

Don't know if there's anything I can do about the "artist" field on top or the scrollbar, but from what I could gather, it isn't possible to remove or hide them.
So, I was wondering... with no scripting knowledge, is it possible for me to create my own filter in WSH Mod or anything similar?
Title: Artist Filter / WSH Panel Mod
Post by: trout on 2013-03-20 12:17:08
They can be hidden by placing the Filter inside of a Panel Stack Splitter and using Forced layout positions:

Left = 0
Top = $sub(%ps_height%,<height of artist field>)
Width = $add(%ps_width%,<width of scrollbar>)
Height = $add(%ps_height%,<2 x height of artist field>).
Title: Artist Filter / WSH Panel Mod
Post by: Curly on 2013-03-20 12:53:02
Beautiful, thank you!

Couldn't figure out what to set the Top value to, so I just set it to "-35". Seemed to work fine.

Here's the result if anyone's interested.

(http://oi49.tinypic.com/2celmu.jpg)
Title: Artist Filter / WSH Panel Mod
Post by: trout on 2013-03-20 15:49:36
Oh, yes, I screwed-up the top position. Of course, just as you figured out, the number should be subtracted from zero instead of the panel splitter height.