Reducing the sieze of Minimapbuttons

Reducing the sieze of Minimapbuttons

by jakeadams » Fri Jan 08, 2016 9:56 am

Hello all!

Not long since I've asked you guys of something, but I am not that good with programming stuff.
I am wondering if it is possible to reduce the sieze of my Minimap buttons from different addons, Atlas, SW Stats, Smartbuff etc. I tried scaling down the img. to 25x25, but I get a green box instead. I quess wow doesn't support anything else than 32x32? Could it instead be possible to do it via the code of the addon? Something defining the scale it has ingame maybe. The normal sieze is just to big for my taste, but I still want some of the buttons instead of keybinding all of them (I quess I'll do that if this isn't possible).

Thanks in advance,
Jake Adams
User avatar
jakeadams
Sergeant
Sergeant
 

Re: Reducing the sieze of Minimapbuttons

by schaka » Fri Jan 08, 2016 10:07 am

Wow only supports .tha and blp with a square size to the power of 2. So say 16x16. But the frame that contains the image will stretch it to 32x32.

That being said, somewhere in the code for each of these addons, there is a line of the minimap button that goes <framename>:SetHeight(32)
<framename>:SetWidth(32)

Find those and adjust them (the 32 I'm not even sure about, just going by what you said)
schaka
Senior Sergeant
Senior Sergeant
 

Re: Reducing the sieze of Minimapbuttons

by Cohacq » Fri Jan 08, 2016 10:19 am

I'm using an addon called Minimap Button Bag. It puts all Addon buttons in a drop-down menu.
Cohacq
Private
Private
 

Re: Reducing the sieze of Minimapbuttons

by jakeadams » Fri Jan 08, 2016 12:23 pm

Thanks for the answers. I'll try what schaka has suggested.

I've already tried MInimap Button Bag, Cohacq, but didn't like it. Thanks for the suggestion though.
User avatar
jakeadams
Sergeant
Sergeant
 

Re: Reducing the sieze of Minimapbuttons

by Sillicus » Tue Jan 12, 2016 12:30 am

Move Anything addon. It's in the addon pack.

You can shrink or enlarge the button, move it around, whatever.
Sillicus
Grunt
Grunt
 


Return to Addons & macros