blob: c5207e2a5dae1b63998eac66f982ea7994c2c60d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
Item {
id: root
width: 320
height: 240
ListView {
id: listView
width: 320
height: 240
delegate: Rectangle {
width: ListView.view.width
height: ListView.view.height / ListView.view.count
color: "tomato"
}
}
}
|