I have made an android app. There is a scene with a scrollcontainer and a lot of buttons in it. I made the strech mode to Ignore, so my app fills the whole screen. I have a screen ratio of 16:9, as its the most common. My phone has a 20:9 ratio. The problem is, instaed of being able to see more buttons at once, The buttons are streched vertically to fit the whole screen. How do I achive my desired Layout ?
Does anybody know how to get the client's screen size, so I can change the project settings in code.
You should read this: https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html
Kayleen I did already, that's how I got my setup. Godot mobile develepment, especially GUI is very bad and has very few documentation and resources, I think I'm better off picking a different software.
Loaf The buttons are stretched vertically to fit the whole screen.
Can you upload a minimal reproduction project that illustrates this problem?
I've exported numerous Godot projects to Android, and haven't seen this issue.
It works fine, it's just a little confusing at first.
[unknown] it's just a little confusing at first.
Quite an understatement ! It is also confusing at second and third. There is quite room for improvements in doc.
© 2022 - 2024 — McMap. All rights reserved.