Continuing this discussion here as to not hijack the original skin thread. (https://getmusicbee.com/forum/index.php?topic=30903.0)
As the title states I am trying to hide the last.fm button on the fluenx skin by diego (https://github.com/diego-pvlk/mb-skins/tree/a83bf7c0556c60ae9ebd80dd76d5d9711ca2354c/Fluenx%20Dark). I have managed to hide the button with the flag:
<element id="HideScrobbleButtonSupported">true</element>
However this causes the wavebar to overlap with the right buttons as shown here: (https://i.imgur.com/CIneheu.png)
What I have tried so far
Replacing the tracklove element with:
<element id="TrackLove" parent="TrackInfoPanel">
<left relativeTo="EqualiserButton.Left" offset="-73" />
Copying the entirety of the skin.xml to the skin_wavebar.xml
Copying the entirety of the skin_wavebar.xml to the skin.xml
All of which either had no effect on the alignment or gave an error upon compiling with SkinCreator. Any help is appreciated links to the skin files are above.
EDIT:
Solved see Reply #2 (https://getmusicbee.com/forum/index.php?topic=36942.msg202712#msg202712)
I'm sorry coldhanded, I now see that I overlooked some things in my previous instructions. So that's probably why things didn't work for you.
Here are new instructions that should work for all cases.
1. in Fluenx-BASE.xml
Add these two lines in the <settings> category:
<element id="HideScrobbleButtonSupported">true</element>
<element id="HideScrobbleButtonOffset">0</element>
(it enables the user to hide the Scrobble button)
2. in skin.xml :
Find the element for TrackLove, and replace the line that positions it horizontally to this:
<element id="TrackLove" parent="TrackInfoPanel">
<left relativeTo="EqualiserButton.Left" offset="-73" />
(it makes it that the 'Love' button gets anchored to the EQ button instead of to the right side of the panel, making its positioning dynamic)
3. also in skin.xml
At the bottom of the xml, replace the replacement element for TrackLove with:
<replacementElement id="TrackLove" replaceWith="EqualiserButton.Right" offsetAdjustment="-36" />
(it makes it that when the 'Love' button is disabled, other elements get anchored to the EQ button instead)
4. There is no need to change anything in the wavebar.xml
(because there is no element in it that affects or overrules the above changes)
Let me know if this works as expected for you?
The edited skin can be downloaded here (https://www.mediafire.com/file/v5pxsw6tlwtty0r/Fluenx_Dark_and_Cold.xmlc/file)
That one gives me this:
(https://i.imgur.com/BuhPOjc.png)
I think it can best be done using the offset in the main skin.xml
(I completely forgot and overlooked that earlier)
A new plan:
In Fluenx-BASE.xml
<element id="HideScrobbleButtonSupported">true</element>
<element id="HideScrobbleButtonOffset">-223</element>
In skin.xml
<element id="TrackLove" parent="TrackInfoPanel">
<left relativeTo="LastFmButton.Right" offset="-68" />
and at the bottom
<replacementElement id="TrackLove" replaceWith="LastFmButton.Right" offsetAdjustment="0" />
(as it was from the beginning)
Leave the wavebar.xml original