X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2FMediaPlayer.qml;h=94281f5c97de87bf0401b6592fc7d8d39e38ac88;hb=refs%2Ftags%2Fjellyfish_9.99.4;hp=b287c8ae9bcc7c8d9f850c1daa90dea2d387bb9f;hpb=a551556be8b780e906eeb89ddc92fb5d0cd58f03;p=apps%2Fmediaplayer.git diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index b287c8a..94281f5 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -17,6 +17,8 @@ import QtQuick 2.11 import QtQuick.Layouts 1.11 import QtQuick.Controls 2.4 +import QtQuick.Window 2.13 + import AGL.Demo.Controls 1.0 ApplicationWindow { @@ -92,9 +94,10 @@ ApplicationWindow { Item { id: container anchors.centerIn: parent - width: 1080 - height: 1487 - scale: screenInfo.scale_factor() + width: Window.width + height: Window.height + //scale: screenInfo.scale_factor() + scale: 1 ColumnLayout { anchors.fill: parent