diff --git a/src/plugins/qmldesigner/components/itemlibrary/qml/Scrollbar.qml b/src/plugins/qmldesigner/components/itemlibrary/qml/Scrollbar.qml index 5821c00c5a287f9283366809e3aac38fffb5147d..91ecb8641dab9aa58a80a25587711ddbab0d6317 100644 --- a/src/plugins/qmldesigner/components/itemlibrary/qml/Scrollbar.qml +++ b/src/plugins/qmldesigner/components/itemlibrary/qml/Scrollbar.qml @@ -112,20 +112,30 @@ Item { if (updateFlickable) flickable.contentY = Math.max(0, flickable.contentHeight * y / bar.height) } - - Rectangle { - width: parent.height - 1 - height: parent.width + + Rectangle { + width: parent.height - 1 + height: parent.width - 1 y: 1 - height - - rotation: 90 + + rotation: 90 transformOrigin: Item.BottomLeft + color: "black" + + + Rectangle { + width: parent.width - 2 + height: parent.height - 2 + y: 1 + x: 1 + gradient: Gradient { GradientStop { position: 0.0; color: style.scrollbarGradientStartColor } GradientStop { position: 1.0; color: style.scrollbarGradientEndColor } } } + } MouseArea { anchors.fill: parent diff --git a/src/plugins/qmldesigner/components/resources/scrollbar.css b/src/plugins/qmldesigner/components/resources/scrollbar.css index e4f8ac89c2c7c103c6db9102b1080b43521f569e..5c1199d7184c78f280dadf8c14ae5042621e3403 100644 --- a/src/plugins/qmldesigner/components/resources/scrollbar.css +++ b/src/plugins/qmldesigner/components/resources/scrollbar.css @@ -2,15 +2,17 @@ border: 1px solid #8F8F8F; background: #707070; width: 10px; - margin: 2px 0 2px 0; + margin: 2px 0 0px 0; } QScrollBar::handle:vertical { - background: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0 + background-color: qlineargradient(x1: 0, y1: 0, x2: 0.5, y2: 0 stop: 0 #cEcEcE, stop: 1 #8E8E8E); - min-height: 20px; - border-radius: 10px; + min-height: 20px; + border: 2px solid #0F0F0F; + border-radius: 6px; + border-width: 1; } QScrollBar::add-line:vertical { diff --git a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml index 441ecab71a2e630ca6c72c9ffdc2be5a05c5c866..7563ba5192ceab7482e54a69a9c41a1f1b8754c3 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml +++ b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml @@ -532,6 +532,8 @@ Rectangle { anchors.right : listView.right anchors.top : listView.bottom anchors.topMargin: 1 + anchors.leftMargin: 1 + anchors.rightMargin: 1 height: 10; @@ -547,9 +549,17 @@ Rectangle { Rectangle { - height:parent.height-1 + height:parent.height-1 width:parent.width y:1 + color: "black" + } + + Rectangle { + height:parent.height-3 + width:parent.width - 2 + y:2 + x:1 gradient: Gradient { GradientStop { position: 0.0; color: "#C6C6C6" }