vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Fri Dec 11 
19:36:08 2020 +0530| [1cc21f139ecae9346e54192b54c3e6510e09836a] | committer: 
Pierre Lamot

qml: make ExpandGridView respect width and x properties of expand delegates

Signed-off-by: Pierre Lamot <pie...@videolabs.io>

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

 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 24ca2f0dd1..f3cf3228ed 100644
--- a/modules/gui/qt/widgets/qml/ExpandGridView.qml
+++ b/modules/gui/qt/widgets/qml/ExpandGridView.qml
@@ -453,10 +453,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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to