X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=app%2FMediaPlayer.qml;h=94281f5c97de87bf0401b6592fc7d8d39e38ac88;hb=23cd364ee2ec8d2c38ec04288e942feac065942e;hp=cdd9368c5cfa0d29ca9d6697c40586f605ad8b6f;hpb=7ad9148455f925e285822e8c17d94ce94f564732;p=apps%2Fmediaplayer.git 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