Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android weird unwanted spacing on Label UI #89125

Closed
Moxxy1013 opened this issue Mar 3, 2024 · 1 comment · Fixed by #89171
Closed

Android weird unwanted spacing on Label UI #89125

Moxxy1013 opened this issue Mar 3, 2024 · 1 comment · Fixed by #89171

Comments

@Moxxy1013
Copy link

Moxxy1013 commented Mar 3, 2024

Tested versions

Reproducible in -
Godot v4.2.1.stable.mono

System information

Godot v4.2.1.stable.mono - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; 31.0.15.5123) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)

Issue description

Godot UI is not matching what I have displayed when building for windows.
For some reason, either the Label or the EditLine has extra padding which is unexpected.

Left Android Emulator -> Right normal windows debug
image

Steps to reproduce

I am using Android Device Manager to create an emulated device for the Pixel 5 (API 33)

Minimal reproduction project (MRP)

reprosteps.zip

@Moxxy1013 Moxxy1013 changed the title Android weird unwanted spacing Android weird unwanted spacing on UI Mar 3, 2024
@Moxxy1013 Moxxy1013 changed the title Android weird unwanted spacing on UI Android weird unwanted spacing on Label UI Mar 4, 2024
@Moxxy1013
Copy link
Author

Figured out what is causing this issue
Android was rendering \n in the label
Windows doesn't

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants