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

AutoSizeText.rich not working well with maxLines #8

Closed
Koridev opened this issue Mar 26, 2019 · 3 comments
Closed

AutoSizeText.rich not working well with maxLines #8

Koridev opened this issue Mar 26, 2019 · 3 comments

Comments

@Koridev
Copy link

Koridev commented Mar 26, 2019

The parameter maxLines doesn't work correctly with AutoSizeText.rich, it seems that the widget chose a size that would fit for the maximum number of lines in the space available, but then the result overflows if the maxLines parameter is lesser than this.

@simc
Copy link
Owner

simc commented Mar 27, 2019

I cannot reproduce this issue. Could you please provide a small sample?

@simc simc added the needs info Additional info is needed label Mar 27, 2019
@Koridev
Copy link
Author

Koridev commented Mar 27, 2019

I couldn't reproduce it outside of my project, and after trying your fix of #7 and modifying my code accordingly this issue also got fixed.
It might have been due to a misuse on my part.

@no-response no-response bot removed the needs info Additional info is needed label Mar 27, 2019
@simc
Copy link
Owner

simc commented Mar 27, 2019

Okay, let's close this issue for now. Please reopen if the problem happens again...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants