Skip to content

Commit 3a5c965

Browse files
chris-seChristian Seiler
andauthored
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>
1 parent 0c88457 commit 3a5c965

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/stylesheets/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ads--CDockContainerWidget {
55
background: palette(dark);
66
}
77

8-
ads--CDockContainerWidget QSplitter::handle {
8+
ads--CDockContainerWidget ads--CDockSplitter::handle {
99
background: palette(dark);
1010
}
1111

src/stylesheets/default_linux.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ads--CDockContainerWidget {
55
background: palette(dark);
66
}
77

8-
ads--CDockContainerWidget QSplitter::handle {
8+
ads--CDockContainerWidget ads--CDockSplitter::handle {
99
background: palette(dark);
1010
}
1111

src/stylesheets/focus_highlighting_linux.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ads--CDockContainerWidget {
55
background: palette(dark);
66
}
77

8-
ads--CDockContainerWidget QSplitter::handle {
8+
ads--CDockContainerWidget ads--CDockSplitter::handle {
99
background: palette(dark);
1010
}
1111

@@ -192,3 +192,4 @@ ads--CFloatingDockContainer[isActiveWindow="true"] #floatingTitleMaximizeButton:
192192
background: rgba(255, 255, 255, 92);
193193
}
194194
*/
195+

0 commit comments

Comments
 (0)