Ensure that the stylesheet doesn't affect all QSplitter instances (#265)

The stylesheet should only change the style of ads::CDockSplitter
instances, but not all QSplitter instances. Otherwise all splitters
within any dock widget will also be affected and look different from
the default Qt style.

Co-authored-by: Christian Seiler <c.seiler@luxflux.de>
This commit is contained in:
Christian Seiler 2020-10-21 22:07:41 +02:00 committed by GitHub
parent 0c88457037
commit 3a5c965306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget QSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);
} }

View File

@ -5,7 +5,7 @@ ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget QSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);
} }

View File

@ -5,7 +5,7 @@ ads--CDockContainerWidget {
background: palette(dark); background: palette(dark);
} }
ads--CDockContainerWidget QSplitter::handle { ads--CDockContainerWidget ads--CDockSplitter::handle {
background: palette(dark); background: palette(dark);
} }
@ -192,3 +192,4 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton:
background: rgba(255, 255, 255, 92); background: rgba(255, 255, 255, 92);
} }
*/ */