
Originally Posted by
bOOURNS
***Note***
I am quite aware that the target castbar IS 1px too long on the right side. This seems to unavoidable. 1px shorter just makes the black border (on the actual castbar not the kgpanels) 2px. So my options were 1px too short, aligned but 2px "inner black border or 1px too long. So i don't want to hear it
You can see an example of the 2px border on the 2nd debuff that is on the target dummy(target of target)
Not sure how to combat this at all. Some placements seem to do the 2px instead of 1px border OR as stated by Sakpoth the power bar on my 4th row of my raid frames was 1px bigger than all the rest in my previous screenshot.
Actually this is avoidable, but requires some work.
First do this:
Code:
local offset = framename:GetEffectiveScale()/UIParent:GetEffectiveScale()
offset will be the true dimension of a pixel. With this you can multiply the height/width by offset and obtain always pixel-perfect borders and dimensions. Anyway this would require that every frame in the ui is treated this way to see the effect.
I use it only for certain aspects like nameplate borders and text offset on unitframes, since they move a lot through the ui and if i don't use this sometimes things will go wild with 2px borders and such.
EDIT: MAH FACE when i discovered that indicators on QuseUI are all oUF tags WHY I DIDN'T THOUGHT OF THAT BEFORE.