[vlc-commits] qml: correctly propagate titleMargin property of GridItem

Prince Gupta git at videolan.org
Mon Aug 10 12:09:24 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Jul  9 20:59:23 2020 +0530| [9b71095bf8d260204bdeab6ba3aa0097969547d0] | committer: Pierre Lamot

qml: correctly propagate titleMargin property of GridItem

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

 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
 



More information about the vlc-commits mailing list