getmusicbee.com

Support => Developers' Area => Skins => Topic started by: endeavour1934 on October 05, 2013, 06:24:23 PM

Title: Four skining questions and a bug
Post by: endeavour1934 on October 05, 2013, 06:24:23 PM
I'm working on a skin but I have a few questions I'd like to ask:

- Panel.SectionHeader.Default is affecting these 2 elements. Is there any way to skin them separately?
(http://i.minus.com/ib1f1V6dxkEQoY.jpg)

- How can I skin the Modern Compact Player Progress Button?
(http://i.minus.com/iWm602pZYXCmA.jpg)

- Panel.Body.Default bg is affecting these lines on the Library Explorer Tab panel. Is there any way to skin them separately?
(http://i.minus.com/ibuAuJi0Mq0PKk.jpg)


- How can I make buttons on the preferences panel square? Now they are rounded :(


And one bug, I think. Buttons and text on the Main Player Flat Panel when docked on the bottom are not centered vertically:
(http://i.minus.com/iDS2ESK3gD1fi.jpg)
They seem to be aligned correctly if you include the bottom frame (with the same color as the player). But if the frame has a different colour or the window is maximized then they look misaligned.

Thanks for helping :D

Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 05, 2013, 06:41:07 PM
oh! And I almost forgot...

Any way to skin these lines in the Album&Tracks view in the Now Playing Panel?
(http://i.minus.com/ijVie4bWz2fQU.jpg)
Title: Re: Four skining questions and a bug
Post by: redwing on October 05, 2013, 06:51:26 PM
- Panel.SectionHeader.Default is affecting these 2 elements. Is there any way to skin them separately?
(http://i.minus.com/ib1f1V6dxkEQoY.jpg)

Not possible yet. There's such a request in Skinning Requests thread.

- How can I skin the Modern Compact Player Progress Button?
(http://i.minus.com/iWm602pZYXCmA.jpg)

That shares bg and bdr of Controls.Button.Default

- Panel.Body.Default bg is affecting these lines on the Library Explorer Tab panel. Is there any way to skin them separately?
(http://i.minus.com/ibuAuJi0Mq0PKk.jpg)

there is no setting for this and i cant change it without affecting other skins
i have added for the next update
LibraryExplorerHeaderGap
default value 1, but you want to set it to 0

- How can I make buttons on the preferences panel square? Now they are rounded :(

I don't understand. Would you post a screenshot?

Any way to skin these lines in the Album&Tracks view in the Now Playing Panel?
(http://i.minus.com/ijVie4bWz2fQU.jpg)

Not sure, but probably it's automated.
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 05, 2013, 06:58:02 PM
Wow, thanks for all the fast replies! :D

PanelSectionHeader.Default is killing me :(

I don't understand. Would you post a screenshot?
I'm refering to the main buttons: Accept, Save, Cancel, etc.
They are all rounded, but I've seen some skins (sadly on xmlc) where they are square.  ???
Title: Re: Four skining questions and a bug
Post by: redwing on October 05, 2013, 07:02:21 PM
I don't know. I have no experience working on bitmap skins. Other skinners will be able to help with you about that.
Title: Re: Four skining questions and a bug
Post by: redwing on October 05, 2013, 08:07:00 PM
@endeavour1934:

Would you post the bug part on the Skinning Requests thread? Otherwise Steven won't be able to recall that when he's working on skinning next time.
Title: Re: Four skining questions and a bug
Post by: Steven on October 05, 2013, 08:36:46 PM
using the default musicbee skin, on all settings i cannot get the player controls to be off centre for the modern layout. I dont plan to spend any more time looking at this unless you can point out the setting that makes it happen or perhaps it is something specifc to the skin you are using
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 05, 2013, 08:46:51 PM
using the default musicbee skin, on all settings i cannot get the player controls to be off centre for the modern layout. I dont plan to spend any more time looking at this unless you can point out the setting that makes it happen or perhaps it is something specifc to the skin you are using
Still happening.

Here is a screenshot of it with the default skin, where you can see the settings and the version (2.2.5023)

(http://i4.minus.com/iDqatcnDVBFzh.jpg)
Title: Re: Four skining questions and a bug
Post by: Sigma on October 05, 2013, 08:49:48 PM
I asked about the off-centre controls in another thread yesterday.

This is what it looks like for me in the Pop Pink skin with slightly modified colours, although it looks identical to this (in terms of alignment) in the default skin as well: -

Compact player - Controls are centrally aligned (vertically) in the dark grey bar: -

(http://i.imgur.com/wj8ZGr2.jpg)

Main player - Controls are not centrally aligned (too low): -

(http://i.imgur.com/duFSGw9.jpg)

Basically, the alignment is the same as in the screenshots posted by the OP.
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 05, 2013, 08:52:10 PM
I asked about the off-centre controls in another thread yesterday.

This is what it looks like for me in the Pop Pink skin with slightly modified colours, although it looks identical to this (in terms of alignment) in the default skin as well: -

Compact player - Controls are centrally aligned (vertically) in the dark grey bar: -
Main player - Controls are not centrally aligned (too low): -

Basically, the alignment is the same as in the screenshots posted by the OP.
Yes, that's exactly my problem. Perfectly aligned on compact player but too low on main player.
Title: Re: Four skining questions and a bug
Post by: Steven on October 05, 2013, 09:00:07 PM
i thought you were refering to the alignment of the controls amongst themselves. The controls are intentionally lower than centre when the player bar is on top (as they are higher when its on the bottom). I will have a look at bringing it a bit closer to centre
Title: Re: Four skining questions and a bug
Post by: Sigma on October 05, 2013, 09:11:12 PM
For me they're still lower then centre when the progress bar is on the bottom: -

(http://i.imgur.com/SzHgxlG.jpg)

Would screen resolution affect this? I'm using a 2,560 x 1,440 monitor.

But if you're talking about the alignment of the controls in relation to other controls, then with the main player, the volume bar is slightly out of line (a touch too low) with the speaker icon to the left of it, no matter where the progress bar is. With the compact player, it's fine.
Title: Re: Four skining questions and a bug
Post by: Sigma on October 05, 2013, 09:19:16 PM
One other thing while we're discussing this....

When the program is maximised in main player view, there is a line a few pixels wide down the right side as highlighted by the arrow here: -

(http://i.imgur.com/sUinpXJ.jpg)

But there isn't one of those lines down the left side. I assume there should be. There isn't one at the bottom either, although I don't know if there's meant to be one there.

If I don't have the program maximised, I can see the grey line on the left, right and bottom edges, which is how it should be.
Title: Re: Four skining questions and a bug
Post by: redwing on October 06, 2013, 07:22:58 AM
@endeavour1934:

About the square buttons, have a look at this thread to see if that's what you're looking for:

http://getmusicbee.com/forum/index.php?topic=9955.0
Title: Re: Four skining questions and a bug
Post by: redwing on October 06, 2013, 08:34:24 AM
Any way to skin these lines in the Album&Tracks view in the Now Playing Panel?
(http://i.minus.com/ijVie4bWz2fQU.jpg)

fg of Content[AlbumAndTracks].ItemSeparatorLine can add a line just above that. But I can't find a way to change a color or remove the original line. Also bear in mind that the element above will draw a line between each track in Album and Tracks layout.
Title: Re: Four skining questions and a bug
Post by: Steven on October 06, 2013, 09:34:48 AM
i have adjusted the centering up 1px for when the progress bar is above, and also for the volume slider i have tweaked the centering which depended on a number of factors if it was 1px too low
http://musicbee.niblseed.com/V2_2/MusicBee_Exe_Patched.zip
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 06, 2013, 02:38:26 PM
i have adjusted the centering up 1px for when the progress bar is above, and also for the volume slider i have tweaked the centering which depended on a number of factors if it was 1px too low
http://musicbee.niblseed.com/V2_2/MusicBee_Exe_Patched.zip
Thanks! It's perfect now  :D
Title: Re: Four skining questions and a bug
Post by: mrad on October 06, 2013, 02:58:09 PM
most accidental forum title eveerrr ::)
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 06, 2013, 03:08:49 PM
most accidental forum title eveerrr ::)
;D

BTW, there are still two of the questions unanswered  :P
Title: Re: Four skining questions and a bug
Post by: endeavour1934 on October 07, 2013, 01:15:18 PM
By the way, when the player is on the top bar, there seems to be a 1px line below the player, linked to the player bg color. Is there any way to get rid of it?
Title: Re: Four skining questions and a bug
Post by: redwing on October 07, 2013, 01:54:26 PM
Try

<element id="ApplicationBackColour" bg="255,0,0" />

Then you will see where the red lines are drawn.

You can adjust their widths by changing values for MainPanelMargin.Left, Right, Top, Bottom and MainPanelSeparatorMargin

Another way is using the same color of background for bg of ApplicationBackColour.

---

BTW did you see the two posts I added?