I’m working on a custom theme for the Windows version of Scrivener and I want to change the color of the separators between panes/icons across the UI.
This line of code:
QMainWindow::separator:hover,
QSplitter::handle:hover {
background: palette(highlight);
}
in the QSS file allows me change the color of adjustable separators (such as those that allow you to contract/expand the binder and inspector panes) when hovered, but I don’t see a corresponding line of code to change the color of the bars themselves.
I tried targeting them by adding a background color to this line of code:
QMainWindow::separator {
width: 6px;
height: 5px;
padding: 2px;
background: palette(dark);
}
But no joy.
Has anyone had success changing the separator colors via the QSS file?