Is there an example Custom.qss file, or info on how to write Custom.qss for PCSX2? #8973
Closed
HeyItsLollie
started this conversation in
General
Replies: 1 comment
-
Hi, This github isn't realyl for support, if you want help doing a custom stylesheet, I suggest you visit the discord. link is on https://www.pcsx2.net |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all, I want to create some custom styling for PCSX2, but I'm having a little trouble.
For reference, I have looked up the Qt Style Sheet Reference and Style Sheet Syntax. I have also looked through PCSX2's Themes.cpp and its various .ui files.
I was hoping I could set colors the same way Themes.cpp appears to, via palette entries. eg: Window, WindowText, Button, ButtonText, etc. However everything I've tried doesn't seem to work. I've tried .Window, #Window, QPalette::Window, lower-case and Camel Case.
What has worked is styling the components directly, eg QCheckBox, QButton, QMenu, QLabel, etc... but this doesn't quite feel like the intended way to use Custom.qss. I figured I should ask if there's an easier way, before throwing myself down a rabbit hole of figuring out how every element is styled.
What would be really valuable is an example Custom.qss file, one that replicates one of the built-in themes. But at this point, I'd be happy just to be pointed in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions