[vlc-devel] [PATCH 07/26] qml: make ExpandGridView respect width and x properties of expand delegates
Prince Gupta
guptaprince8832 at gmail.com
Thu Dec 17 17:26:05 UTC 2020
---
modules/gui/qt/widgets/qml/ExpandGridView.qml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/gui/qt/widgets/qml/ExpandGridView.qml b/modules/gui/qt/widgets/qml/ExpandGridView.qml
index 1ec1e8aac1..1dbc3a5808 100644
--- a/modules/gui/qt/widgets/qml/ExpandGridView.qml
+++ b/modules/gui/qt/widgets/qml/ExpandGridView.qml
@@ -446,10 +446,7 @@ NavigableFocusScope {
if (root.expandIndex !== -1) {
var expandItemPos = root.getItemPos(expandItemGridId)
- expandItem.x = expandItemPos[0]
expandItem.y = expandItemPos[1]
-
- expandItem.width = root.getNbItemsPerRow() * root._effectiveCellWidth - root.horizontalSpacing
}
// Place the delegates after the expandItem
--
2.25.1
More information about the vlc-devel
mailing list