pkhead / rained

Rain World level editor
MIT License
21 stars 5 forks source link

Text scales with resolution, unreadable on large displays #4

Closed Dangerdino30 closed 5 months ago

Dangerdino30 commented 8 months ago

4096x2160 image 1980x1080 image

pkhead commented 8 months ago

That's strange. The size of the text is not dependent on the screen resolution, so I'm not sure how the text is getting smaller. Does it change based on your display resolution, display DPI, or is it based on the window size?

Dangerdino30 commented 8 months ago

It seems to change with my display resolution(If I were to go into settings and adjust my resolution it changes). The text is closer together and larger on small resolution and smaller/further apart on higher resolutions, often unreadably small. My best assumption would be that the size of the text is dependant on pixel size or smth, therefore resolution size

pkhead commented 8 months ago

I suspect that it may have something to do with the fact that the size of the text is always 13 physical pixels. I don't really know I can't reproduce this bug because the highest available resolution on my monitor isn't as high as something like 4096x2160.

pkhead commented 5 months ago

Sorry it took so long for me to address the issue. I've made it so that it scales the window contents by the monitor's DPI, which I believe should fix this issue. The user may also change the content scale in the preferences window, in case it's not big enough. This should fix the issue, so I will close it.