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