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

fix(DAppSignRequestModal): correctly compute text painted height #15856

Conversation

caybro
Copy link
Member

@caybro caybro commented Jul 29, 2024

What does the PR do

  • fixes text overflowing the box height

Fixes #15650

Affected areas

DAppSignRequestModal

Screenshot of functionality (including design for comparison)

  • I've checked the design and this PR matches it
Zaznam.obrazovky.z.2024-07-29.14-32-39.webm

- fixes text overflowing the box height

Fixes #15650
Copy link
Member Author

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

@status-im-auto
Copy link
Member

status-im-auto commented Jul 29, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 9830d25 #1 2024-07-29 12:40:33 ~6 min tests/nim 📄log
✔️ 9830d25 #1 2024-07-29 12:42:15 ~8 min macos/aarch64 🍎dmg
✔️ 9830d25 #1 2024-07-29 12:47:38 ~13 min tests/ui 📄log
✔️ 9830d25 #1 2024-07-29 12:48:50 ~15 min linux-nix/x86_64 📦tgz
✔️ 9830d25 #1 2024-07-29 12:50:20 ~16 min linux/x86_64 📦tgz
✔️ 9830d25 #1 2024-07-29 12:50:31 ~16 min macos/x86_64 🍎dmg
✔️ 9830d25 #1 2024-07-29 13:06:45 ~32 min windows/x86_64 💿exe

Copy link
Member

@micieslak micieslak left a 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
Copy link
Member

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.

Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks 🍻

@caybro caybro merged commit fbb112f into master Jul 29, 2024
9 checks passed
@caybro caybro deleted the 15650-dapp-connect-to-magic-eden-sign-request-version-section-text-is-overlapped-and-unreadable branch July 29, 2024 14:48
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

Successfully merging this pull request may close these issues.

dApp - Connect to Magic Eden - Sign request - Version section text is overlapped and unreadable
4 participants