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
Fix layout issues
[apps/mediaplayer.git]
/
app
/
MediaPlayer.qml
diff --git
a/app/MediaPlayer.qml
b/app/MediaPlayer.qml
index
03c85c4
..
fd4db58
100644
(file)
--- a/
app/MediaPlayer.qml
+++ b/
app/MediaPlayer.qml
@@
-140,17
+140,19
@@
ApplicationWindow {
Layout.fillHeight: true
Layout.preferredHeight: 1080
clip: true
Layout.fillHeight: true
Layout.preferredHeight: 1080
clip: true
+
Image {
Image {
+ anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.left: parent.left
anchors.right: parent.right
- anchors.bottom: parent.bottom
- height: sourceSize.height * width / sourceSize.width
- fillMode: Image.PreserveAspectCrop
+ anchors.bottom: controls.top
+ fillMode: Image.PreserveAspectFit
source: AlbumArt
visible: player.av_connected === false
}
Item {
source: AlbumArt
visible: player.av_connected === false
}
Item {
+ id: controls
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
@@
-292,7
+294,7
@@
ApplicationWindow {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
Item {
Layout.fillWidth: true
Layout.fillHeight: true
- Layout.preferredHeight: 4
07
+ Layout.preferredHeight: 4
80
ListView {
anchors.fill: parent
ListView {
anchors.fill: parent