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

Inconsistent behavior with buttons when viewed in editor vs after exporting #76737

Closed
Gamepro5 opened this issue May 4, 2023 · 1 comment
Closed

Comments

@Gamepro5
Copy link
Contributor

Gamepro5 commented May 4, 2023

Godot version

4.0.2 Stable

System information

Windows 10; AMD Ryzen 7 3700X 8-Core Processor 3.60 GHz

Issue description

Buttons with a text followed by a new line character do not show the newline in-editor, but does show it after exporting.

Steps to reproduce

1.) Create a new project with a button control node.
2.) In the text attribute of the control node, put "play" followed by clicking the enter key (new line)
3.) Click play to view the project in-editor. Observe how the button reads "play", and pay attention to the height of the button.
4.) Export the project using a windows template. Run the exported project. Observe how the button reads "play" but renders the new line, making the button twice as tall as it was in the editor.

Minimal reproduction project

N/A

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants