[vlc-devel] [PATCH 5/9] qml: export rowX property from ExpandGridView
Prince Gupta
guptaprince8832 at gmail.com
Mon Aug 10 15:20:26 CEST 2020
this property holds the starting position of rows
---
modules/gui/qt/widgets/qml/ExpandGridView.qml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt/widgets/qml/ExpandGridView.qml b/modules/gui/qt/widgets/qml/ExpandGridView.qml
index 12cea86073..d2c46c7c25 100644
--- a/modules/gui/qt/widgets/qml/ExpandGridView.qml
+++ b/modules/gui/qt/widgets/qml/ExpandGridView.qml
@@ -34,6 +34,7 @@ NavigableFocusScope {
property int leftMargin: VLCStyle.margin_normal
property int rightMargin: VLCStyle.margin_normal
+ property int rowX: 0
property int horizontalSpacing: VLCStyle.column_margin_width
property int verticalSpacing: VLCStyle.column_margin_width
@@ -371,6 +372,8 @@ NavigableFocusScope {
else if (!root._isInitialised)
root._initialize()
+ root.rowX = getItemPos(0)[0]
+
var i
var expandItemGridId = getExpandItemGridId()
--
2.25.1
More information about the vlc-devel
mailing list