Skip to content

Commit 02f0510

Browse files
committed
doc: fix QScrollBar stylesheet code example
The horizontal parts were missing colons. Change-Id: Ibc3657d87d38af76d0736f9880eb711f52723de1 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
1 parent e431520 commit 02f0510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/widgets/doc/snippets/code/doc_src_stylesheet.qdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ QScrollBar::sub-line:horizontal {
12231223

12241224

12251225
//! [135]
1226-
QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
1226+
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
12271227
border: 2px solid grey;
12281228
width: 3px;
12291229
height: 3px;
@@ -1267,7 +1267,7 @@ QScrollBar::sub-line:horizontal {
12671267
right: 20px;
12681268
}
12691269

1270-
QScrollBar:left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
1270+
QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal {
12711271
width: 3px;
12721272
height: 3px;
12731273
background: pink;

0 commit comments

Comments
 (0)