godot
godot copied to clipboard
Use a lower editor scale by default on 720p mobile displays
Godot version
3.5.stable
System information
Android, GLES2, Xiaomi Redmi 9C 720x1600 269dpi
Issue description
By default Godot's resolution is 200%, but there is no inspector with 200%. Can't edit any node's property. I can change resolution in settings, but I want default resolution to be usable

Steps to reproduce
Download stable Godot Editor 3.5 APK from official releases on Redmi 9C Install downloaded file Create or open any project
Minimal reproduction project
No response
If the default scale was lower than 200% on mobile, then the editor would be unusable because controls would be too small for a touch screen. You'd constantly be pressing the wrong buttons :slightly_smiling_face:
That said, for low-end devices with 720p screens, we probably don't have any other choice than making the default scale 150% instead of 200%. cc @m4gr3d This will essentially trade one problem for another though, unless you have a hardware keyboard and mouse.
Switching the editor language to English should help make more of the editor fit on screen, as texts will be shorter. However, keep in mind this can only be done from the Editor Settings, not the project manager: https://github.com/godotengine/godot/issues/60353
I think small UI is fine, it should definitely fit the screen. If it's too small to be comfortably usable it's still better than seeing only a quarter of the UI :)
Android, GLES2, Xiaomi Redmi 9C 720x1600 269dpi
@werryxgames If your dpi is 269, then you should be falling in the DENSITY_HIGH bucket and have your scale set automatically to 150% based on the logic here.
Can you validate your dpi is correct, and that you haven't overwritten the default scale selected for your dpi.
@m4gr3d

@werryxgames Does the editor fully fit with the 150% or below scaling?
150%

@m4gr3d, 125% is the best

But for example you can add "Show Inspector" button (or with icon), that will show fullscreen inspector. Button will only show, when there is no visible inspector, or it don't show fully (like 150% screenshot)
Actually this is a good idea also for those people on desktops who want more space for the rest of the editor...
But for example you can add "Show Inspector" button (or with icon), that will show fullscreen inspector. Button will only show, when there is no visible inspector, or it don't show fully (like 150% screenshot)
See https://github.com/godotengine/godot-proposals/issues/1441.
idk if i could do java i would make godot for android a seperate version
Fixed by https://github.com/godotengine/godot/pull/71838