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:
8a7865f
)
MediaPlayer.qml: Allow to scale correctly on lower resolutions
author
Marius Vlad
<marius.vlad@collabora.com>
Thu, 2 Jul 2020 14:28:36 +0000
(17:28 +0300)
committer
Marius Vlad
<marius.vlad@collabora.com>
Fri, 3 Jul 2020 09:16:57 +0000
(12:16 +0300)
Bug-AGL: SPEC-3348
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Icf22e54f49af7c6629b5276bbfe376033226e577
app/MediaPlayer.qml
patch
|
blob
|
history
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
74fcf2e
..
063fb55
100644
(file)
--- a/
app/MediaPlayer.qml
+++ b/
app/MediaPlayer.qml
@@
-94,10
+94,9
@@
ApplicationWindow {
Item {
id: container
anchors.centerIn: parent
- width: Window.width
- height: Window.height
- //scale: screenInfo.scale_factor()
- scale: 1
+ height: 1920 - 215 - 218
+ width: 1080
+ scale: (Screen.width/ 1080.0)
ColumnLayout {
anchors.fill: parent