View Single Post
05-27-16, 10:45 AM   #7
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
Originally Posted by Folji View Post
That's a really lovely overview, Zork! Been rooting a lot around your action bar code to figure out how to easily handle and alter the action bars, haha.

Here's a curious question though. The button textures, at least the normal button texture, it's shown me an awful tendency to be about twice the size of the button itself when replaced with a custom texture. Is that intended? Is it just a bad idea to pass the texture path directly through :SetNormalTexture() ?
I guess Blizzard uses a 66x66 normalTexture size for a 36x36 button.

You need to adjust the texture size with

Lua Code:
  1. self:GetNormalTexture():SetSize(x,y)    -- resize texture
  2. self:SetNormalTexture()    -- change texture
__________________

Last edited by syncrow : 05-27-16 at 10:48 AM.