Shadowlands Micro Menu Buttons

Shadowlands Micro Menu Buttons

55.1k Downloads

How to increase the width

Machou opened this issue ยท 7 comments

commented

Hello,

I think this addon is great, because I hate the new buttons...

But I find that each button is compressed, it lacks 5 pixels (maybe a little more); which line can I modify to increase the size of the buttons?

Regards

commented

This is a comparison picture I just made. On the top is WOTLK Classic, middle is 10.0.5 with the menu bar set to 150%, and the bottom is a screenshot of Shadowlands:
image

It looks like all the pictures are still the same without any compression, just the buttons are slightly wider now. I could maybe shave a pixel or two off the buttons width, but I worry that might cause problems with other addons if I do that.

commented

Comparing 10.0.5 code to 9.2.7, they changed the buttons from 28x36 to 19x26. You could drop that to 18x26 or 17x26 by adding this line, in SLMicroMenu.lua, at line 42:

data.button:SetWidth(17)

Comparison:
image

commented

I'm not talking about the tooltip, but the icon. Can't you see that it's unpacked? The addon is Classic Quest, but that has nothing to do with it.

commented

Actually, I find them too small with SLMicroMenu, but I put data.button:SetWidth(22) and it's perfect :) here is what it looks like:

I think it's better, but to each his own, I think :)

just a little problem with the quest icon when I move my mouse over it, if you know how to leave it at the same size as all the others?

commented

Must be some other addon doing that.
image

commented

The picture I showed is while I'm mousing over the Quest button. I'm not seeing any problems with the icon.

commented

The picture I showed is while I'm mousing over the Quest button. I'm not seeing any problems with the icon.

This is normal, because I put data.button:SetWidth(22) on line 42

Anyway I deactivated the addon because it breaks too many things for few improvements, too bad =(