Quantcast
How to widen default unit frames for custom texture? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » How to widen default unit frames for custom texture?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off