[vlc-commits] qml: layout adjustments for miniplayer
Fatih Uzunoglu
git at videolan.org
Thu Aug 27 12:44:43 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jul 31 20:58:33 2020 +0300| [3f3fa5d0ad7ed8cb566e6d236afe39232144c53a] | committer: Pierre Lamot
qml: layout adjustments for miniplayer
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f3fa5d0ad7ed8cb566e6d236afe39232144c53a
---
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
More information about the vlc-commits
mailing list