summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-10-25 13:20:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-31 13:23:58 +0100
commitfd8d7261cc25a7a2efcf42c59f9f11d0280e4383 (patch)
tree3017fb73886fa5c6966e65b7d8d484a2cd54732f /tests
parent6c5bcbf23928094338da90be2cd4a2787104cf03 (diff)
downloadqtquickcontrols-fd8d7261cc25a7a2efcf42c59f9f11d0280e4383.tar.gz
qtquickcontrols-fd8d7261cc25a7a2efcf42c59f9f11d0280e4383.tar.bz2
qtquickcontrols-fd8d7261cc25a7a2efcf42c59f9f11d0280e4383.zip
More styling improvements for Base Style
- Better scalability - Retina support - Added glow filter to Private - Added focus rects Change-Id: I2ec36a9db546c21e20408429c5e17fde8d67b7c3 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/controls/data/tst_scrollview.qml24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/auto/controls/data/tst_scrollview.qml b/tests/auto/controls/data/tst_scrollview.qml
index c9503b88..16ebf6c2 100644
--- a/tests/auto/controls/data/tst_scrollview.qml
+++ b/tests/auto/controls/data/tst_scrollview.qml
@@ -92,16 +92,20 @@ TestCase {
function test_clickToCenter() {
- var test_control = 'import QtQuick 2.1; \
- import QtQuick.Controls 1.1; \
- import QtQuick.Controls.Styles 1.1; \
- ScrollView { \
- id: _control1; \
- width: 100 ; height: 100; \
- Item { width: 200; height: 200 }\
- activeFocusOnTab: true; \
- style:ScrollViewStyle{} \
- } '
+ var test_control = 'import QtQuick 2.1; \
+ import QtQuick.Controls 1.1; \
+ import QtQuick.Controls.Styles 1.1; \
+ ScrollView { \
+ id: _control1; \
+ width: 100 ; height: 100; \
+ Item { width: 200; height: 200 } \
+ activeFocusOnTab: true; \
+ style:ScrollViewStyle{ \
+ handle: Item {width: 16 ; height: 16} \
+ scrollBarBackground: Item {width: 16 ; height: 16} \
+ incrementControl: Item {width: 16 ; height: 16} \
+ decrementControl: Item {width: 16 ; height: 16}} }'
+
var scrollView = Qt.createQmlObject(test_control, container, '')
verify(scrollView !== null, "view created is null")
verify(scrollView.flickableItem.contentY === 0)