Ark2000 / PankuConsole

Feature-packed real-time debugging toolkit for Godot Engine.
https://k2kra.xyz/PankuConsole/
MIT License
997 stars 38 forks source link

Console doesn't scale its size to respond to high DPI displays #174

Closed FabriceCastel closed 4 months ago

FabriceCastel commented 4 months ago

Describe the bug The console renders at a fixed px resolution, which ends up causing a "what is this, a UI for ants?" situation whenever you use a higher DPI display (in my case, a macbook with a retina display, 250dpi vs. a standard display that would have approx 96dpi)

Expected behavior Panku console UI adjusts to the display DPI to retain a consistent perceived scale.

Screenshots

image
Ark2000 commented 4 months ago

https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html https://www.reddit.com/r/godot/comments/16kbdfp/handling_differents_dpi_in_godot/

Still not very clear on how Godot editor itself implemented UI scale feature, but I'll try my best to provide similar funtions.

Ark2000 commented 4 months ago

Closed. Related issue: #166