1
\$\begingroup\$

I noticed that Godot changes the alpha of the LineEdit text when editable = false. I want the alpha to stay 1. What I'm trying to do here is let the user input a name and then when they press enter it saves it in some dict etc (not important) and still shows as normal text (they can't edit it again)

\$\endgroup\$
1
\$\begingroup\$

Unfortunately, the LineEdit text's alpha appears to be hardcoded to 0.5 when it's disabled. I guess it could be replaced with a custom color property instead – this should be an easy addition, but it will require modifying the engine's source code.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.