diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-05-27 15:07:33 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-27 16:54:57 +0200 |
commit | a84444f3809e9372c61ace8f5b973ad59fcaa9af (patch) | |
tree | b44f4c3664a0f2ac9bd0974d0bd313215587c663 /tests/manual | |
parent | dbf42fc0028acc0170bb0d0dad966c74b86a456e (diff) | |
download | qtquickcontrols-a84444f3809e9372c61ace8f5b973ad59fcaa9af.tar.gz |
ScrollView: take Flickable::originX and originY into account
Change-Id: I16eb186a2b1f706bbc961d34a614bf2f9a9a0646
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/scrollview/main.qml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/manual/scrollview/main.qml b/tests/manual/scrollview/main.qml index 71accd8e..a245ca88 100644 --- a/tests/manual/scrollview/main.qml +++ b/tests/manual/scrollview/main.qml @@ -78,6 +78,12 @@ ApplicationWindow { value: 1000 implicitWidth: 80 } + CheckBox { + id: largeCheck + text: "Large" + checked: false + implicitWidth: 80 + } Item { Layout.fillWidth: true } } } @@ -139,6 +145,7 @@ ApplicationWindow { frameVisible: frameCheck.checked text: loremIpsum + loremIpsum + loremIpsum + loremIpsum anchors.fill: parent + font.pixelSize: largeCheck.checked ? 26 : 13 } } Tab { @@ -152,7 +159,7 @@ ApplicationWindow { model: 30 delegate: Rectangle { width: parent.width - height: 30 + height: largeCheck.checked ? 60 : 30 Text { anchors.fill: parent anchors.margins: 4 @@ -177,6 +184,17 @@ ApplicationWindow { model: 10 frameVisible: frameCheck.checked + rowDelegate: Rectangle { + width: parent.width + height: largeCheck.checked ? 60 : 30 + Rectangle { + anchors.bottom: parent.bottom + width: parent.width + height: 1 + color: "darkgray" + } + } + TableViewColumn {title: "first" width: view.viewport.width } |