Skip to content

widget.Entry MinSize() calculation #3167

Answered by andydotxyz
faide asked this question in Q&A
Discussion options

You must be logged in to vote

The text in an Entry lengthening should not typically expand the UI to fit - so we added a scroller by default.
Widgets like this with a scroller have a small min size, because the minimum is what is truly required to make the item usable.

If you want to override this so it will expand to fit the text then set Entry.Wrapping = fyne.TextWrapOff.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@faide
Comment options

@faide
Comment options

@andydotxyz
Comment options

Answer selected by faide
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants