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

Code editor line spacing setting is not applied immediately on change #74528

Closed
davthedev opened this issue Mar 7, 2023 · 0 comments · Fixed by #76396
Closed

Code editor line spacing setting is not applied immediately on change #74528

davthedev opened this issue Mar 7, 2023 · 0 comments · Fixed by #76396

Comments

@davthedev
Copy link
Contributor

Godot version

4.0-stable x86_64

System information

Ubuntu 22.04, Intel Iris Plus Graphics G7, Wayland

Issue description

The code editor line spacing is not applied when the value is changed. It is taken into account after a Godot restart only.
This is a regression from the 3.x branch in which the change was applied immediately. There is no prompt telling that the settings will apply after restart either.

I confirm that the corresponding theme constant (CodeEdit > Constants > line_spacing) is not overridden.

Steps to reproduce

Have the script editor visible with some multiline code in it. Quickly creating a new scene with the default node script is enough.
Open the Editor Settings window (Main menu > Editor > Editor settings).
Go to Text Editor > Appearance section.
Change the Spaces > Space between lines value (as highlighted on the screenshot). In this case, you can lower it to 0 and expect to see the code editor lines closer together.

image

See that the new line height does not apply.
Save, quit Godot, restart, reopen the project, and notice that the new line spacing is taken into account.

Minimal reproduction project

N/A

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.

3 participants