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: add space after checkbox in macintosh theme #902
base: master
Are you sure you want to change the base?
Conversation
@swift-zym Can you test removing this based on master: cpeditor/src/Widgets/RichTextCheckBox.cpp Line 71 in 09216ba
|
If #902 (comment) works, use that solution; |
This reverts commit 4d784c3.
Neither of them work. |
What is the value of |
2 |
Does 4d784c3 add a spacing, though not necessarily wide enough? |
I just think it's not very good to hardcode a spacing size for a specific theme, as the theme may change in the future 🤔 |
No.... |
I just can't find better solution for it 😢 |
I think it's ok. If really want to move it out, maybe add support for os-specified param in setting 🤔 |
Or we can try to find a different way to implement #733. |
Maybe a widget contains a HBoxLayout, with a QCheckBox and a clickable label? It should work. |
It will work, but I am thinking 🤔 if it's a macOS Qt Style bug, instead of code change we can report/wait for Qt to fix it. |
This is a custom widget, so we need to find out if it's a Qt bug or our own fault. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Update
RichTextCheckBox
to add extra space after checkbox inmacintosh
theme.Related Issues / Pull Requests
fix #871
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate)
Checklist
old
attribute is updated or it is resolved in SettingsUpdater.tr()
orQCoreApplication::translate()
.Additional text
After changing theme, you need to restart CP Editor to make this work.