QmlDesiger: fix .css of slider

The old slider handle did not appear properly

Reviewed-by: Lasse Holmstedt
(cherry picked from commit c214e473f8)
This commit is contained in:
Thomas Hartmann
2010-08-06 14:49:26 +02:00
committed by hjk
parent 58de9b5803
commit f5edaf0640

View File

@@ -423,9 +423,12 @@ QMenu::separator {
} }
QSlider::handle:horizontal { QSlider::handle:horizontal {
image: url(:/qmldesigner/images/slider_indikator.png); background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
width: 16px; width: 16px;
height: 24px; height: 16px;
margin: 0px 0; border: 1px solid #5c5c5c;
width: 18px;
margin: -4px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
border-radius: 3px;
} }