Code Review
/
apps
/
mediaplayer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
MediaPlayer.qml: Allow to scale correctly on lower resolutions
[apps/mediaplayer.git]
/
app
/
MediaPlayer.qml
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