Author Topic: Change Icon Color -how?  (Read 1961 times)

orion

  • Newbie
  • *
  • Posts: 5
Hello,

I'd like to restyle attached icon. How can I do that  btw  what is that icon's element id? The skin used is Bee78.



Any help appreciated.

Cheers
orion

Imagefile here:
ttps://www.dropbox.com/s/prz3vphdf0kmbql/MusikBee-Color.png?dl=0
Last Edit: January 16, 2017, 10:31:52 AM by orion

Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3831
  • MB Version: 3.6.8849 P
That's the <element id="PanelLayout"> image element.
If you delete it from the source skin, it will be replaced by the image used in the default MusicBee3 skin.
MusicBee and my library - Making bee-utiful music together

orion

  • Newbie
  • *
  • Posts: 5
thank you. Found that icon now. Unfortunately it doesn't seem to accept colour changes. Any reason for that?

What I did is the following:
Decoded the string from the source code to have the image. Loaded it into GIMP. Surprisingly it is black on transparent, not golden as it shows in the skin. Hmm ...  still,l I'd like to have some different colour, let's say green. But after encoding, inserting the string into the source code, compiling everything .. it still shows the golden colour.

Is there a solution?

Thanks for help
orion

hiccup

  • Sr. Member
  • ****
  • Posts: 7790
Not wanting to interfere here, but make sure to have "adjust icon coloring to match the selected skin" un-checked to see the actual color of the icon.

Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3831
  • MB Version: 3.6.8849 P
Sorry Orion, the actual colour of the icon image is controlled by
<element id="Panel.CommandButtonOverride" bg="0,0,0,0" fg="193,152,103" />
and
<element id="CaptionBar.CommandButtonOverride" bg="0,0,0,0" fg="190,150,101" />

Don't forget that it will also change the colour of "DownloadIndicatorIcon" and "NotificationIcon" when they get displayed.

BTW, if you don't use the override, the fg attribute of
<element id="Panel.Header.Default" bg="42,42,38" fg="208,163,113" bdr="136,100,60" />
controls the colour.
Last Edit: January 17, 2017, 11:03:22 AM by Bee-liever
MusicBee and my library - Making bee-utiful music together

orion

  • Newbie
  • *
  • Posts: 5
Thank you both for helping.

Finally got it working:
HeaderButtonOverride.Default did the trick.

Cheers
orion