getmusicbee.com

Support => Developers' Area => Skins => Topic started by: T010 on August 25, 2022, 08:13:48 AM

Title: How to allow for 'Progress Bar on Top / Bottom' on bitmap skins?
Post by: T010 on August 25, 2022, 08:13:48 AM
I'm basing my bitmap skin on another bitmap skin which already had the progressbar in the middle. But (most) non-bitmap skins have the option to set the progress bar to either Top/Middle/Bottom where the Top/Bottom ones span the entire window width.

Now I can't seem to figure out which code I need to apply to my skin to allow for the Top/Bottom variants fo the progressbar. Tips please?

Side question: how to set the TrackPosition to not be split on either side of the progressbar, but rather combined on one end of it?
Title: Re: How to allow for 'Progress Bar on Top / Bottom' on bitmap skins?
Post by: Mayibongwe on August 27, 2022, 10:13:08 PM
Now I can't seem to figure out which code I need to apply to my skin to allow for the Top/Bottom variants fo the progressbar. Tips please?
I don't think that's supported at the moment (for bitmap skins).

Side question: how to set the TrackPosition to not be split on either side of the progressbar, but rather combined on one end of it?
Do you have the source files of the skin which you are basing your skin off of? If not, I doubt this can be properly done either.
Title: Re: How to allow for 'Progress Bar on Top / Bottom' on bitmap skins?
Post by: T010 on August 28, 2022, 07:59:40 AM
Yes I have the source files; I use "Player Centered Lime (https://getmusicbee.com/addons/skins/353/dark-skin-with-player-centered-and-left-with-resources/)" skin as my base
Title: Re: How to allow for 'Progress Bar on Top / Bottom' on bitmap skins?
Post by: Mayibongwe on August 28, 2022, 11:13:23 AM
In the xml file, search for PlayerSplitProgressYOffset and comment it out (or even remove it if you want).

Code
<!-- <element id="PlayerSplitProgressYOffset">0</element> -->