diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-01-22 21:04:23 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-01-22 21:48:11 +0200 |
commit | 830921faab68c1d4b00b9a93a99a1584c59baf34 (patch) | |
tree | feac991ceb2a57f4e41a63a40ddadd895237ed64 | |
parent | e002a695538b61602313ab019ba30caaa8f30a28 (diff) |
launcher/qml/Launcher: Specify window size based on what the compositor
gives us
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifdbe39f441c8d960f062f6d810e33922e1ed88ba
-rw-r--r-- | launcher/qml/Launcher.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index 2247f51..822c964 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -18,6 +18,7 @@ import QtQuick 2.6 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 +import QtQuick.Window 2.11 import AppModel 1.0 ApplicationWindow { @@ -29,9 +30,9 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: 1080 - height: 1488 - scale: screenInfo.scale_factor() + width: Screen.width + height: Screen.height + scale: 1 Image { anchors.centerIn: parent |