Commit 589aef89 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Alessandro Portale

QmlDesigner: Remove lines/borders from scrollbars

Change-Id: Iefc1d6a42df2aa858b68d4ce25840c766a8c86cb
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 735bf2cf
......@@ -29,7 +29,6 @@ import QtQuick.Controls.Styles 1.1
ScrollViewStyle {
readonly property color scrollbarColor: creatorTheme.BackgroundColorDark
readonly property color scrollbarBorderColor: creatorTheme.QmlDesignerBorderColor
readonly property color scrollBarHandleColor: creatorTheme.QmlDesignerButtonColor
padding {left: 0; top: 0; right: 0; bottom: 0}
......@@ -38,15 +37,11 @@ ScrollViewStyle {
height: 10
width: 10
color: scrollbarColor
border.width: 1
border.color: scrollbarBorderColor
}
handle: Item {
implicitWidth: 10
implicitHeight: 10
Rectangle {
border.color: scrollbarBorderColor
border.width: 1
anchors.fill: parent
color: scrollBarHandleColor
}
......
QScrollBar:vertical {
background-color: creatorTheme.BackgroundColorDark;
border: 1px solid creatorTheme.QmlDesignerBorderColor;
border: none;
margin-top: 3;
margin-bottom: 3;
width: 10;
......@@ -12,7 +12,7 @@
margin-bottom: -5;
min-height: 18px;
width: 8px;
border: 1px solid creatorTheme.QmlDesignerBorderColor;
border: none;
border-width: 1;
margin-left: -1;
margin-right: -1;
......@@ -45,7 +45,7 @@
QScrollBar:horizontal {
background-color: creatorTheme.BackgroundColorDark;
border: 1px solid creatorTheme.QmlDesignerBorderColor;
border: none;
margin-left: 3;
margin-right: 3;
height: 10;
......@@ -58,7 +58,7 @@
margin-right: -5;
min-width: 18px;
height: 8px;
border: 1px solid creatorTheme.QmlDesignerBorderColor;
border: none;
border-width: 1;
margin-top: -1;
margin-bottom: -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment