From: Marius Vlad Date: Fri, 29 May 2020 10:43:36 +0000 (+0300) Subject: app/MediaPlayer.qml: Use Window width and height X-Git-Tag: 9.99.1~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fmediaplayer.git;a=commitdiff_plain;h=23cd364ee2ec8d2c38ec04288e942feac065942e app/MediaPlayer.qml: Use Window width and height Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad Change-Id: Ie0b77df34c29591157069e0a92287acb5e53b958 --- 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