-
-
Notifications
You must be signed in to change notification settings - Fork 51
Add styling for QScrollBar/QComboBox controls for the Steam Deck theme #534
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
base: main
Are you sure you want to change the base?
Conversation
|
I've added examples of using QResources and generating the stylesheet through |
5665113 to
5704848
Compare
5704848 to
6d647cb
Compare
848b08e to
4a849ee
Compare
|
Thanks! Sorry for the late reply. I was busy and forgot to respond to this issue. I like the style. It looks good and matches the Steam look and feel!
I think that the QResources are nice in a Qt ecosystem, and the handling of icons is way cleaner. Nevertheless, I'm not sure if it is the best way in our case.
Should be fine, we can include them in the |
I have the same issue in Rare, but it is what it is until I get some time to figure out how to use buildtools to build them at package creation.
You could, but you would need to depend on So it boils down to whether you want to include another dependency that doesn't do anything but generate the stylesheet. |
Okay, that's a valid point. I'll think about a way to automate it. I don't want to introduce large changes in the build process since there are packages that I do not maintain.
I see. The simplest solution is probably to add a GitHub Action that checks for changes, rebuilds the |
Adds theming for QScrollBar/QComboBox controls for the Steam Deck theme
Preview:

The icon file paths are injected in to the CSS string dynamically right now. I would like to move them into a QResources file but I wanted to get the ok from you before going forward with that. The QResources as far as the theme is concerned should include the QSS file along with any images it uses. The icons are modified from Font Awesome icons and I should check up on their exact license.
Generally I consider this WIP that should take some time due to availability. Feel free to comment with any concerns in the meantime though.
Edit: Regarding the license, it should be ok to use. These icons are take from the FontAwesome repository, they are
caret-downandcaret-up