-
Notifications
You must be signed in to change notification settings - Fork 438
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
More styling work #533
More styling work #533
Conversation
Works as expected for QMessageBox but Mode/Admin have some odd behaviour Haven't started on other themes yet
Also included: Mode selector preselects the current mode reducing the chances of accidental switches |
Aha... so you've just missed beta.17, but should be able to make RC. :-) |
…wn/mu into base/more-styling-work
Hoped to get thing sent in by 4 but life got the better of me |
The images look good too... I'll get to this tomorrow (currently writing a blog post about beta.17 release announcement). |
Heh... I hoped to have beta 17 out last Wednesday... ;-) |
OK... took a quick look and merged it. Nice work! Thanks. |
This has grown a bit
On macOS/Linux/Windows our scrollbars use a Qt fallback which looks interesting and is almost invisible in the contrast theme. Similarly masOS/Windows/Some Linux fallback to a grey on grey 9xish design.
So visually this PR styles the scrollbar & dialog buttons and adds some borders to text areas in the admin dialog
Some pictures!
Haven't included hover states here because reliably screenshotting them was an issue
Whole admin dialog for comparison



Codewise this sets the stylesheet globally instead of per window/widget. Don't have any metrics but in theory this should be more efficient as it avoids parsing the theme multiple times.
This reduces the need to pass the theme around all the time and ensures everything is themed (See unsaved work dialog)
Obviously a lot of this is up for discussion and #530 could help simplify many areas of theme handling