summaryrefslogtreecommitdiff
path: root/src/styles/ScrollViewStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/ScrollViewStyle.qml')
-rw-r--r--src/styles/ScrollViewStyle.qml17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/styles/ScrollViewStyle.qml b/src/styles/ScrollViewStyle.qml
index 9edb5028..b64fe16f 100644
--- a/src/styles/ScrollViewStyle.qml
+++ b/src/styles/ScrollViewStyle.qml
@@ -45,17 +45,10 @@ import QtQuick.Controls.Styles 1.0
Style {
id: root
- property bool frameOnlyAroundContents: __styleitem.styleHint("frameOnlyAroundContents")
- property int scrollBarSpacing: __styleitem.pixelMetric("scrollbarspacing")
- property int defaultFrameWidth: __styleitem.pixelMetric("defaultframewidth")
-
- property StyleItem __styleitem: StyleItem { elementType: "frame" }
-
- property Component frame: StyleItem {
- id: styleitem
- elementType: "frame"
- sunken: true
- visible: control.frameVisible
- }
+ property bool frameOnlyAroundContents: false
+ property int scrollBarSpacing: 4
+ property int defaultFrameWidth: 1
+ property Component frame: Rectangle { visible: frameVisible }
+ property Component corner: Rectangle { color: "red" }
}