Page 1 of 1

Reducing the sieze of Minimapbuttons

PostPosted: Fri Jan 08, 2016 9:56 am
by jakeadams
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

Re: Reducing the sieze of Minimapbuttons

PostPosted: Fri Jan 08, 2016 10:07 am
by schaka
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)

Re: Reducing the sieze of Minimapbuttons

PostPosted: Fri Jan 08, 2016 10:19 am
by Cohacq
I'm using an addon called Minimap Button Bag. It puts all Addon buttons in a drop-down menu.

Re: Reducing the sieze of Minimapbuttons

PostPosted: Fri Jan 08, 2016 12:23 pm
by jakeadams
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.

Re: Reducing the sieze of Minimapbuttons

PostPosted: Tue Jan 12, 2016 12:30 am
by Sillicus
Move Anything addon. It's in the addon pack.

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