Hi everyone,
I'm trying to customize the dark theme in SimCnc by modifying the style.css stylesheet. I can successfully style individual widgets using selectors like QWidget, but I'm having trouble changing the background color of the main application frame.
In the GUI editor, the top-level element has the ID VBoxLayout_1. I've tried:
[id="VBoxLayout_1"] { background-color: #2aa174; }
QMainWindow { background-color: #2aa174; }
QApplication { background-color: #2aa174; }
None of these selectors seem to work for the main window background.
My question: What is the correct Qt stylesheet selector to target the main application window/frame in SimCnc?
Is there a standard widget class that wraps the main window that I should be styling instead?
Any help would be appreciated!
Thanks
Hi everyone,
I'm trying to customize the dark theme in SimCnc by modifying the style.css stylesheet. I can successfully style individual widgets using selectors like QWidget, but I'm having trouble changing the background color of the main application frame.
In the GUI editor, the top-level element has the ID VBoxLayout_1. I've tried:
[id="VBoxLayout_1"] { background-color: #2aa174; }
QMainWindow { background-color: #2aa174; }
QApplication { background-color: #2aa174; }
None of these selectors seem to work for the main window background.
My question: What is the correct Qt stylesheet selector to target the main application window/frame in SimCnc?
Is there a standard widget class that wraps the main window that I should be styling instead?
Any help would be appreciated!
Thanks