-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
qt: Fix font family updates #3746
qt: Fix font family updates #3746
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.
ACK
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.
utACK
Wait ... Recent transactions on the overview still don't react to family changes. Thats really the last one now... 🙈 Testing here.. pushing in few minutes. |
Introduced because QListView is ignored in GUIUtil::updateFonts, so its base font family doesn't change, hence the recent transactions don't adjust because the painter's font doesn't change.
824281e
I think you need smth like b3e9da9 cause otherwise you draw both lines with the same font size actually |
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.
Seems to be working as expected now 👍
re-ACK
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.
utACK
* qt: Update the application font if the font family gets changed * qt: Make sure recent transactions have the correct font family Introduced because QListView is ignored in GUIUtil::updateFonts, so its base font family doesn't change, hence the recent transactions don't adjust because the painter's font doesn't change. * Store initial font size
* qt: Update the application font if the font family gets changed * qt: Make sure recent transactions have the correct font family Introduced because QListView is ignored in GUIUtil::updateFonts, so its base font family doesn't change, hence the recent transactions don't adjust because the painter's font doesn't change. * Store initial font size Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
Required now after the
GUIUtil::setApplicationFont()
call was removed fromGUIUtil::updateFonts()
andQListView
is getting ignored byGUIUtil::updateFonts()
both introduced in #3734.