Godot Version
4.3
Question
My ui is getting stretched in mobile when I make aspect to ignore. How to resolve it.
4.3
My ui is getting stretched in mobile when I make aspect to ignore. How to resolve it.
for modile games, canvas_items
and expand
are recommended.
aspect ignore
means that the original resolution will be stretched to exactly fill the screen, even if it’s wider or narrower. This may result in nonuniform stretching: things looking wider or taller than designed. But when you don’t use “Control nodes’ anchors” this means all nodes maintain their original dimensions and are not stretched.
you can see Multiple resolutions — Godot Engine (stable) documentation in English
Don’t know why I did not try expand. Thank you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.