summaryrefslogtreecommitdiffstats
path: root/app/Phone.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/Phone.qml')
-rw-r--r--app/Phone.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Phone.qml b/app/Phone.qml
index 15af5b4..6ce503c 100644
--- a/app/Phone.qml
+++ b/app/Phone.qml
@@ -22,6 +22,16 @@ import QtQuick.Controls 2.0
ApplicationWindow {
id: root
+ width: container.width * container.scale
+ height: container.height * container.scale
+
+ Item {
+ id: container
+ anchors.centerIn: parent
+ width: 1080
+ height: 1487
+ scale: screenInfo.scale_factor()
+
TabBar {
id: bar
width: parent.width
@@ -71,3 +81,4 @@ ApplicationWindow {
}
}
}
+}