Quantcast
WoWInterface - View Single Post - How to widen default unit frames for custom texture?
View Single Post
10-24-19, 04:21 PM   #1
cbjewelz
A Murloc Raider
Join Date: Oct 2019
Posts: 4
How to widen default unit frames for custom texture?

Hi all, I'm modifying the existing whoathickframes addon and trying to use a wider frame texture. I created it successfully in photoshop as a tga and it's loading correctly but the end is chopped off. I've tried SetWidth on every frame I can think of and the only one that does anything is PlayerFrame but then the texture stretches to fill it out and is still cropped. PlayerFrameBackground width setting works for the semi-opaque black background behind the healthbar but not the texture itself. See picture here: https://imgur.com/a/WW7Xnpx

Here is my code for changing the texture:

PlayerFrameTexture:SetTexture("Interface\\Addons\\whoaThickFrames_Classic\\media\\UI-TargetingFrame");

Trying to set the width of this frame does nothing.

Thanks in advance
  Reply With Quote