Author Topic: How to change the size of the window buttons?  (Read 5460 times)

mvana

  • Jr. Member
  • **
  • Posts: 66
I'm trying to make MusicBee window minimize, close, etc. button wider, larger like default windows explorer buttons.
What can I edit to change it?


Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3831
  • MB Version: 3.6.8849 P
There's currently no way to do this.
Windows 10 uses 44x28px icons, but MB uses 30x28px.
As MB can place Tabs into the caption bar, Steven may have made the decision to make the icons slightly narrow to gain extra space there.

You would need to make a request to Steven to see if a change can be made.
MusicBee and my library - Making bee-utiful music together

mvana

  • Jr. Member
  • **
  • Posts: 66
There's currently no way to do this.
Windows 10 uses 44x28px icons, but MB uses 30x28px.
As MB can place Tabs into the caption bar, Steven may have made the decision to make the icons slightly narrow to gain extra space there.

You would need to make a request to Steven to see if a change can be made.

Thanks for the response. By habit I'm clicking the wrong button for MusicBee, don't know if others are facing similar issues.
Last Edit: November 26, 2021, 12:50:33 PM by mvana

hiccup

  • Sr. Member
  • ****
  • Posts: 7793
I'm pretty sure this can be done, and it's like this:

By default these buttons are sized 28x15.
Nowadays you can additionally add 30x28 sized images.

You can add them to your skin using these elements:

FormMinimiseButton2
FormMaximiseButton2
FormRestoreButton2
FormCloseButton2
FormMinimiseHighlightButton2
FormMaximiseHighlightButton2
FormRestoreHighlightButton2
FormCloseHighlightButton2

Note that the original ones should be kept, and these new ones should be placed after the original ones in the xml.

Perhaps things turnout differently when using Windows scaling? I don't know.

mvana

  • Jr. Member
  • **
  • Posts: 66
I'm pretty sure this can be done, and it's like this:

By default these buttons are sized 28x15.
Nowadays you can additionally add 30x28 sized images.

is this going to change the positioning of the buttons like windows explorer? Since, 30x28 is still much smaller than windows buttons

hiccup

  • Sr. Member
  • ****
  • Posts: 7793
is this going to change the positioning of the buttons like windows explorer? Since, 30x28 is still much smaller than windows buttons
It will make the buttons fill the height of the titlebar. Why not try it out yourself?

mvana

  • Jr. Member
  • **
  • Posts: 66
It will make the buttons fill the height of the titlebar. Why not try it out yourself?
I tried it, it doesn't change the actual size and position of the buttons. I was trying to make buttons clickable area much wide spread, like default windows buttons.

hiccup

  • Sr. Member
  • ****
  • Posts: 7793
To other skinners interested in using larger Windows 10 style header bar buttons for close, minimise, maximise, restore:

Standard size buttons using Form....Button  (28x15)



Large size buttons using Form....Button2  (30x28)


mvana

  • Jr. Member
  • **
  • Posts: 66
To other skinners interested in using larger Windows 10 style header bar buttons for close, minimise, maximise, restore:

Standard size buttons using Form....Button  (28x15)



Large size buttons using Form....Button2  (30x28)


It's not just the size of the buttons, the main issue is they're very densely placed together, unlike default windows 10 buttons.