[vlc-devel] [PATCH 14/38] qml: layout adjustments for miniplayer

Fatih Uzunoglu fuzun54 at outlook.com
Thu Aug 20 19:55:23 CEST 2020


---
 modules/gui/qt/player/qml/MiniPlayer.qml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/player/qml/MiniPlayer.qml b/modules/gui/qt/player/qml/MiniPlayer.qml
index ecc182ae97..558e866a1b 100644
--- a/modules/gui/qt/player/qml/MiniPlayer.qml
+++ b/modules/gui/qt/player/qml/MiniPlayer.qml
@@ -96,6 +96,7 @@ Widgets.NavigableFocusScope {
                     Layout.preferredWidth: playingItemInfoRow.implicitWidth
                     width: childrenRect.width
                     focus: true
+                    Layout.leftMargin: VLCStyle.margin_normal
 
                     MouseArea {
                         anchors.fill: parent
@@ -119,8 +120,6 @@ Widgets.NavigableFocusScope {
                         anchors.bottom: parent.bottom
                         anchors.verticalCenter: parent.verticalCenter
 
-                        leftPadding: VLCStyle.margin_normal
-
                         Item {
                             anchors.verticalCenter: parent.verticalCenter
                             implicitHeight: childrenRect.height
@@ -189,9 +188,10 @@ Widgets.NavigableFocusScope {
                     defaultSize: VLCStyle.icon_normal
 
                     Layout.alignment: Qt.AlignVCenter
-                    Layout.rightMargin: VLCStyle.margin_normal
-                    Layout.preferredWidth: buttonrow.implicitWidth
+                    Layout.fillWidth: true
                     Layout.preferredHeight: buttonrow.implicitHeight
+                    Layout.leftMargin: VLCStyle.margin_normal
+                    Layout.rightMargin: VLCStyle.margin_normal
 
                     navigationParent: root
                     navigationLeftItem: playingItemInfo
-- 
2.25.1



More information about the vlc-devel mailing list