Quantcast
WoWInterface - View Single Post - [LUA]Need help making rectangular buttons on masque without stretching the icon
View Single Post
12-21-16, 11:49 PM   #5
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
You use a height of 28px which is 70% of 40px

so you can easily change the Top/Bottom part for TexCoords

Exact middle would be <left, right, 0.15, 0.85>


Example Outputs:
--->-----------------<--- = 0.15, 0.85
->-----------------<----- = 0.05, 0,75
------>-----------------< = 0.30, 1.00
__________________

Last edited by syncrow : 12-21-16 at 11:53 PM.
  Reply With Quote