View Single Post
10-29-08, 05:28 PM   #174
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by MiKE41 View Post
I'm having a small issue with some simple border creation.

I started with oUF_P3lim. While modifying it to my liking I decided to add portraits with a gradient as their background and a one pixel border on every side, placed one pixel out from the gradient. This worked great for the player frame, however when I copied this code over to the target frame the border changed to 2px on the left and right sides, and stayed 1px on the top and bottom.

A screenshot of my issue can be seen http://mich431.com/wow/ui/problem.jpg there.

The code I am using can be found http://mich431.com/wow/ui/oUF_P3lim/oUF_P3lim.lua there.

The player portrait frame is found on lines 207 to 223, the targets portrait frame on lines 351 to 368.

I can't seem to find the problem.

Any help would be appreciated much,
Michael
That is one of the most ****ed up things about this game; Its hard to get the scale right!

Try adjusting your UI scale a little bit, could work