diff options
author | Daniel d'Andrada <daniel.dandrada@luxoft.com> | 2017-10-20 13:42:59 +0200 |
---|---|---|
committer | Daniel d'Andrada <daniel.dandrada@luxoft.com> | 2018-02-28 15:58:01 +0100 |
commit | 3254f901c8d54d3cd3ab822f3f41f18458963412 (patch) | |
tree | 55da088e50eae26d2556e37a0915b9426bba38e6 /tests | |
parent | 7a5880e664f2dfd4eae5351f681aa120ad30c959 (diff) |
Implement widget resize in the home page
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qmltests/tst_HomePage.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/qmltests/tst_HomePage.qml b/tests/qmltests/tst_HomePage.qml index 2275e01a..f4012545 100644 --- a/tests/qmltests/tst_HomePage.qml +++ b/tests/qmltests/tst_HomePage.qml @@ -16,7 +16,24 @@ Item { property bool active: false property bool canBeActive: true + property int heightRows: 1 + property int minHeightRows: 1 + + function start() { + window = loadedWindow; + } + } + + QtObject { + id: bar + property Item window + property Item loadedWindow: Rectangle { color: "blue" } + + property bool active: false + property bool canBeActive: true + property int heightRows: 3 + property int minHeightRows: 1 function start() { window = loadedWindow; @@ -28,6 +45,7 @@ Item { widgetsList: ListModel { id: listModel } Component.onCompleted: { listModel.append({"appInfo":foo}) + listModel.append({"appInfo":bar}) } } |