[vlc-devel] [PATCH 16/16] qml: fix menubar spacing in Player topbar

Prince Gupta guptaprince8832 at gmail.com
Tue Feb 23 10:06:06 UTC 2021


---
 modules/gui/qt/player/qml/TopBar.qml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/gui/qt/player/qml/TopBar.qml b/modules/gui/qt/player/qml/TopBar.qml
index 85a23a8afe..8fe27db35d 100644
--- a/modules/gui/qt/player/qml/TopBar.qml
+++ b/modules/gui/qt/player/qml/TopBar.qml
@@ -76,16 +76,11 @@ Widgets.NavigableFocusScope{
                     Layout.fillWidth: true
                     Layout.alignment: Qt.AlignTop | Qt.AlignLeft
 
-                    spacing: VLCStyle.margin_large
-
                     Menus.Menubar {
                         id: menubar
 
                         width: parent.width
                         height: VLCStyle.icon_normal
-
-                        Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
-
                         visible: mainInterface.hasToolbarMenu
                         textColor: topFocusScope.colors.text
                         highlightedBgColor: topFocusScope.colors.bgHover
@@ -132,7 +127,7 @@ Widgets.NavigableFocusScope{
                         anchors.left: parent.left
                         anchors.leftMargin: logo.x
                         width: rowLayout.width - anchors.leftMargin
-
+                        topPadding: VLCStyle.margin_large
                         horizontalAlignment: Text.AlignLeft
                         color: topFocusScope.colors.playerFg
                         font.pixelSize: VLCStyle.dp(18, VLCStyle.scale)
-- 
2.25.1



More information about the vlc-devel mailing list