diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-05-29 13:43:36 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-06-12 16:11:49 +0300 |
commit | 54e994dc952053a5448b83a40c3c54734112f63f (patch) | |
tree | 9480fe27484be84a9d8312c588f33f5dd86aea25 | |
parent | 25e961af7becf2d0b75161a467c342e9ca24b34c (diff) |
app/MediaPlayer.qml: Use Window width and height
Bug-AGL: SPEC-3379
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
-rw-r--r-- | app/MediaPlayer.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index cdd9368..94281f5 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -17,8 +17,7 @@ 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 @@ -95,8 +94,8 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: Screen.width - height: Screen.height + width: Window.width + height: Window.height //scale: screenInfo.scale_factor() scale: 1 |