-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix(DAppSignRequestModal): correctly compute text painted height #15856
fix(DAppSignRequestModal): correctly compute text painted height #15856
Conversation
- fixes text overflowing the box height Fixes #15650
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.
The diff seems like the whole file changed but it's because the file was originally committed with wrong DOS line endings
Jenkins Builds
|
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.
LGTM!
property bool canExpand: contentText.implicitHeight > maxContentHeight | ||
} | ||
} | ||
import QtQuick 2.15 |
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.
Would be nice to have this component is storybook to have a playground regarding text of various length there. Also the name of the component could be improved probably.
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.
Nice! Thanks 🍻
What does the PR do
Fixes #15650
Affected areas
DAppSignRequestModal
Screenshot of functionality (including design for comparison)
Zaznam.obrazovky.z.2024-07-29.14-32-39.webm