[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [elisa] src: increase height of MediaPlayerControl such that its content is centered
From:       Matthieu Gallien <matthieu_gallien () yahoo ! fr>
Date:       2016-12-06 20:59:45
Message-ID: E1cEMq1-0004iX-0l () code ! kde ! org
[Download RAW message or body]

Git commit 10a9a1080d163c60bdaea708f756b1d3a5f2fe48 by Matthieu Gallien.
Committed on 06/12/2016 at 17:54.
Pushed by mgallien into branch 'master'.

increase height of MediaPlayerControl such that its content is centered

the height of the content of the rectangle was too small and the content
was ill-centered and was going out of the bounding box

M  +1    -1    src/MediaServer.qml

https://commits.kde.org/elisa/10a9a1080d163c60bdaea708f756b1d3a5f2fe48

diff --git a/src/MediaServer.qml b/src/MediaServer.qml
index a14dd78..f2d2767 100644
--- a/src/MediaServer.qml
+++ b/src/MediaServer.qml
@@ -291,7 +291,7 @@ ApplicationWindow {
                 playEnabled: myPlayControlManager.playControlEnabled
                 isPlaying: myPlayControlManager.musicPlaying
 =

-                Layout.preferredHeight: Screen.pixelDensity * 10.
+                Layout.preferredHeight: Screen.pixelDensity * 12.
                 Layout.minimumHeight: Layout.preferredHeight
                 Layout.maximumHeight: Layout.preferredHeight
                 Layout.fillWidth: true
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic