import QtQuick 2.11
import QtQuick.Layouts 1.11
import QtQuick.Controls 2.4
-
-import QtQuick.Window 2.11
+import QtQuick.Window 2.13
import AGL.Demo.Controls 1.0
Item {
id: container
anchors.centerIn: parent
- width: Screen.width
- height: Screen.height
+ width: Window.width
+ height: Window.height
//scale: screenInfo.scale_factor()
scale: 1
Item {
Layout.fillWidth: true
Layout.fillHeight: true
- Layout.preferredHeight: 407
+ Layout.preferredHeight: container.height / 2
ListView {
anchors.fill: parent