+2 votes

LineEdit appears to set a minimum size which can't be changed through the editor or in code, based on the size of the font it's set to use. I'm looking to use LineEdit to display an integer no larger than three characters long, but it insists on being 6-8 characters long instead. How can I force it to be smaller?

in Engine by (97 points)
retagged by

Yeah I'd also would like to know if it's possible.

1 Answer

+4 votes
Best answer

Figured it out: set the MinimumSpaces property on the LineEdit.

by (97 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.