LunaUnitFrames

LunaUnitFrames

268k Downloads

Hard to get 1px borders

akay opened this issue ยท 1 comments

commented

I've always struggled to get 1px borders with any frames using LUF. I might have seen it happen with other addons too, but with LUF it's always an issue. Let me explain it better with a screenshot:
image
These are my Player and Target frames but it occurs with all of them. I like the 1px look, which I'm trying to get on the right side too, but it ends up being 2px and doesn't look good.
The same happens with horizontal bars too:
image
My workaround has been to resize or move the frames to get them to have 1px border. For example, if I move the Target frame from the first screenshot by 1 pixel (so its X Position is 211 instead of 210, anchored to my Player frame), it's perfect again:
image
image
... at which point, their placement stops being symmetrical:
image
Is there anything that can be done to always render the borders 1px wide?

commented

The UI does not work with Pixels as a unit. What can help sometimes is adjusting the scale or moving the frame one unit up/down or to the side.