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

uiux: allow for changing app's fontsize #1106

Closed
wants to merge 1 commit into from

Conversation

0x-r4bbit
Copy link
Member

Closes #737

@status-im-auto
Copy link
Member

status-im-auto commented Oct 5, 2020

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ bb12641 #1 2020-10-05 14:28:03 ~9 min macos 📦dmg
✔️ bb12641 #1 2020-10-05 14:30:39 ~11 min linux 📦App

Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

The code looks good, I'll test in a few to see how it looks.

The only thing missing in the code would be saving the preference in the Qt settings

anchors.top: themeSetting.bottom
anchors.topMargin: 20
anchors.left: parent.left
anchors.leftMargin: 24
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
anchors.leftMargin: 24
anchors.leftMargin: Style.current.bigPadding

checked: Style.fontSizeSetting === AppearanceContainer.FontSize.Normal
Layout.alignment: Qt.AlignRight
ButtonGroup.group: fontSize
rightPadding: 15
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
rightPadding: 15
rightPadding: Style.current.padding

checked: Style.fontSizeSetting === AppearanceContainer.FontSize.Big
Layout.alignment: Qt.AlignRight
ButtonGroup.group: fontSize
rightPadding: 15
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
rightPadding: 15
rightPadding: Style.current.padding

@0x-r4bbit
Copy link
Member Author

I recommend NOT merging this one because well... as I've said last week. This definitely needs much more thought. Changing font sizes also affects margins and heights of components and the over all look & feel.

@jrainville
Copy link
Member

I just tested and apart from a few fields and popups in the Wallet, it looks very good to me.
I feel like we could merge as is and fix in another PR because the problems are really minor

@0x-r4bbit 0x-r4bbit marked this pull request as draft October 20, 2020 18:02
@simonricoo
Copy link

@PascalPrecht can we enable app scaling by Scaling Up (CMD+"+") and Scaling Down (CMD+"-")? I think this can save us some hours of work...

@0x-r4bbit
Copy link
Member Author

Closing in favour of #1404

@0x-r4bbit 0x-r4bbit closed this Nov 25, 2020
@iurimatias iurimatias deleted the uiux/change-font-size-config branch July 15, 2021 16:13
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.

Ability to control font size
4 participants