[vlc-commits] qml: vertically center side buttons in local toolbar

Prince Gupta git at videolan.org
Thu Jan 14 14:42:24 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Dec 23 20:01:19 2020 +0530| [b918d6aa68c5edd20ae9e782da4d83cdf1d05803] | committer: Pierre Lamot

qml: vertically center side buttons in local toolbar

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b918d6aa68c5edd20ae9e782da4d83cdf1d05803
---

 modules/gui/qt/maininterface/qml/BannerSources.qml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt/maininterface/qml/BannerSources.qml b/modules/gui/qt/maininterface/qml/BannerSources.qml
index d06df3ae0c..66c7de6c26 100644
--- a/modules/gui/qt/maininterface/qml/BannerSources.qml
+++ b/modules/gui/qt/maininterface/qml/BannerSources.qml
@@ -200,9 +200,8 @@ Widgets.NavigableFocusScope {
                 Widgets.NavigableRow {
                     id: localContextGroup
                     anchors {
-                        top: parent.top
+                        verticalCenter: parent.verticalCenter
                         left: parent.left
-                        bottom: parent.bottom
                         leftMargin: VLCStyle.applicationHorizontalMargin + VLCStyle.margin_xsmall
                     }
 
@@ -358,9 +357,8 @@ Widgets.NavigableFocusScope {
                 Widgets.NavigableRow {
                     id: playlistGroup
                     anchors {
-                        top: parent.top
+                        verticalCenter: parent.verticalCenter
                         right: parent.right
-                        bottom: parent.bottom
                         rightMargin: VLCStyle.applicationHorizontalMargin + VLCStyle.margin_xsmall
                     }
                     spacing: VLCStyle.margin_xxxsmall



More information about the vlc-commits mailing list