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