WoWInterface - View Single Post - How to widen default unit frames for custom texture?
View Single Post
10-25-19, 11:54 AM   #2
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,745
The PlayerFrame uses the texture from the target frame, but flipped. The texture file is also cropped.
(taken from PlayerFrame.xml)
<Texture name="PlayerFrameTexture" file="Interface\TargetingFrame\UI-TargetingFrame">
		<TexCoords left="1.0" right="0.09375" top="0" bottom="0.78125"/>
You need to either a) make the graphic in your texture match the dimensions of the graphic in UI-TargetingFrame.blp, or b) alter the texture coordinates on the player frame border texture.
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote