0 votes

I am feeding database entries into an OptionButton. If there is an entry bigger than the default size, the control will resize itself based on the length of the biggest entry. How do I force the control to stay at a fixed size? Under Rect there are min size entries, the size flag entries seem to have no effect, clip content doesn't help. Even tried to set the size in code after they were loaded:


..no go. Any ideas? Thank you.

Godot version v3.5.1.stable.official
in Engine by (98 points)

1 Answer

0 votes

Doh! Answering my own question. Not sure why i didn't see this before, but in the Inspector under 'Button', there is a 'Clip Text' option that does this.

by (98 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 Frequently asked questions and 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 [email protected] with your username.