[vlc-commits] qml: export rowX property from ExpandGridView
Prince Gupta
git at videolan.org
Tue Aug 18 17:14:48 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Jul 10 00:18:37 2020 +0530| [fa483e92e58f838e3ef72fedf0cf90ecfbe48668] | committer: Pierre Lamot
qml: export rowX property from ExpandGridView
this property holds the starting position of rows
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa483e92e58f838e3ef72fedf0cf90ecfbe48668
---
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()
More information about the vlc-commits
mailing list