-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update the padding of text under a form item #4149
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit to fix the tests. Just one inline comment about a variable name and a minor cleanup while you're at it.
min0 := objs[0].MinSize() | ||
min1 := objs[1].MinSize() | ||
|
||
minWidth := fyne.Max(min0.Width, min1.Width) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be called "maxWidth"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the max of to minimums is still a minimum - computing the max width inside the MinSize method would be weird ;).
Co-authored-by: Jacob Alzén <[email protected]>
Thanks - between replying and accepting the simplification I think we're good? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I thought I had approved
thanks 👍 |
Fixes #4137
Checklist: