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

Auto-size text box? #2256

Open
sealsrock12 opened this issue Sep 11, 2022 · 1 comment
Open

Auto-size text box? #2256

sealsrock12 opened this issue Sep 11, 2022 · 1 comment
Labels
help wanted has no one working on it yet question causes uncertainty

Comments

@sealsrock12
Copy link

I have a label that has a lot of text. Is there a way to have it auto-resize based on the width/height of the window?

@xStrom xStrom added help wanted has no one working on it yet question causes uncertainty labels Dec 1, 2022
@becky112358
Copy link

You can create your label with the option

.with_line_break_mode(LineBreaking::WordWrap)

Is that what you are looking for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted has no one working on it yet question causes uncertainty
Projects
None yet
Development

No branches or pull requests

3 participants