diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-04-19 13:26:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-19 13:58:26 +0200 |
commit | 956ae87efeb84bf8f3c0a4cbb15baa3dae15cad9 (patch) | |
tree | b49c11ddeb87db488e28c743a635d0d6075a9294 /src/styles/ScrollViewStyle.qml | |
parent | 60e14f6440045cc3c5aa1c4ac10bb2db43492228 (diff) | |
download | qtquickcontrols-956ae87efeb84bf8f3c0a4cbb15baa3dae15cad9.tar.gz |
Add focus drawing on Qt Quick Style
Change-Id: I504a2a11041d7df76fadc6bf76f1a5ee4fc9cb8d
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/styles/ScrollViewStyle.qml')
-rw-r--r-- | src/styles/ScrollViewStyle.qml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/styles/ScrollViewStyle.qml b/src/styles/ScrollViewStyle.qml index b015be4f..c10e7a86 100644 --- a/src/styles/ScrollViewStyle.qml +++ b/src/styles/ScrollViewStyle.qml @@ -47,16 +47,15 @@ Style { property bool frameOnlyAroundContents: false property int scrollBarSpacing: 4 - property int defaultFrameWidth: 3 + property int defaultFrameWidth: 1 - property Component frame: BorderImage { - source: "images/editbox.png" - border.left: 4 - border.right: 4 - border.top: 4 - border.bottom: 4 + property Component corner: Rectangle { color: "#ccc" } + + property Component frame: Rectangle { + color: "white" + border.color: "#999" + border.width: 1 + radius: 1 visible: frameVisible } - - property Component corner: Rectangle { color: "lightgray" } } |