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

VPN-5733: Fix account deletion word wrapping #8326

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

MattLichtenstein
Copy link
Contributor

Description

  • For our MZCheckBoxRow sublabels, let wrap on a word ending if possible, otherwise, wrap on character (instead of only wrapping on word ending)
Before After
Screenshot 2023-10-18 at 11 59 50 AM Screenshot 2023-10-18 at 12 00 04 PM

Reference

VPN-5733: Delete Mozilla account screen has UI issues for some languages

@@ -64,7 +64,7 @@ RowLayout {
Layout.fillWidth: true
text: subLabelText
visible: !!subLabelText.length
wrapMode: Text.WordWrap
wrapMode: Text.Wrap
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not WrapAtWordBoundaryOrAnywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They appear to be the same thing, though WrapAtWordBoundaryOrAnywhere is not documented for use in QML

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks, sorry for missing that documentation.

Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

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

🚀

@MattLichtenstein MattLichtenstein merged commit a381b20 into main Oct 18, 2023
86 checks passed
@MattLichtenstein MattLichtenstein deleted the VPN-5733 branch October 18, 2023 21:24
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.

2 participants