summaryrefslogtreecommitdiff
path: root/tests/manual/scrollview/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scrollview/main.qml')
-rw-r--r--tests/manual/scrollview/main.qml20
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
}