[vlc-commits] qml: fix menubar spacing in Player topbar
Prince Gupta
git at videolan.org
Mon Mar 1 10:40:22 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Feb 23 15:54:06 2021 +0530| [ec3947bbf1d9de4503121b328f71edbf8cfcdc3c] | committer: Pierre Lamot
qml: fix menubar spacing in Player topbar
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec3947bbf1d9de4503121b328f71edbf8cfcdc3c
---
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)
More information about the vlc-commits
mailing list