Code Review
/
apps
/
mediaplayer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
25e961a
)
app/MediaPlayer.qml: Use Window width and height
author
Marius Vlad
<marius.vlad@collabora.com>
Fri, 29 May 2020 10:43:36 +0000
(13:43 +0300)
committer
Marius Vlad
<marius.vlad@collabora.com>
Fri, 12 Jun 2020 13:11:49 +0000
(16:11 +0300)
Bug-AGL: SPEC-3379
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
app/MediaPlayer.qml
patch
|
blob
|
history
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
cdd9368
..
94281f5
100644
(file)
--- 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