Display scaling conflicts with 1-pixel UI elements

Hello users. My game uses 1-pixel frames as part of its UI design. Unfortunately, when playing with display scaling, these do not always appear as intended.

Is there any way to force these to be exactly 1 pixel? I did have an idea, but it would require being able to detect the player’s display scaling, which I’m not sure is possible.

Just to make sure, you arent using scale for the 1 pixel part right?

I am using UIScale but I already have a system to make sure this does not mess with the underline size.

The problem arises when you enable display scaling in your operating system’s settings

1 Like