[vlc-devel] [PATCH 01/29] qml: correctly propagate titleMargin property of GridItem

Prince Gupta guptaprince8832 at gmail.com
Tue Aug 4 13:34:34 CEST 2020


---
 modules/gui/qt/widgets/qml/GridItem.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/GridItem.qml b/modules/gui/qt/widgets/qml/GridItem.qml
index 0c62b5a0e6..a3c3c07c3b 100644
--- a/modules/gui/qt/widgets/qml/GridItem.qml
+++ b/modules/gui/qt/widgets/qml/GridItem.qml
@@ -222,7 +222,7 @@ Item {
                     scroll: _highlighted
 
                     Layout.preferredHeight: titleLabel.contentHeight
-                    Layout.topMargin: VLCStyle.margin_xxsmall
+                    Layout.topMargin: root.titleMargin
                     Layout.fillWidth: true
                     Layout.maximumWidth: pictureWidth
 
-- 
2.25.1



More information about the vlc-devel mailing list