import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
+import QtQuick.Window 2.11
import AGL.Demo.Controls 1.0
import Translator 1.0
Item {
id: container
anchors.centerIn: parent
- width: 1080
- height: 1487
- scale: screenInfo.scale_factor()
+ width: Window.width
+ height: Window.height
+ scale: Window.scale
ColumnLayout {
anchors.fill: parent
source: './images/HMI_HVAC_Fan_Icon.svg'
}
Item {
- width: container.width * 0.8
+ width: 1080 * 0.8
Slider {
id: fanSpeedSlider
anchors.left: parent.left