vlc | branch: master | Abel Tesfaye <[email protected]> | Fri Jun 21 21:16:07 2019 +0300| [60b0f06697df4e798f6f702717fb57321a0894ae] | committer: Jean-Baptiste Kempf
qml: use Rectangle instead of Item > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=60b0f06697df4e798f6f702717fb57321a0894ae --- modules/gui/qt/qml/utils/GridItem.qml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/gui/qt/qml/utils/GridItem.qml b/modules/gui/qt/qml/utils/GridItem.qml index a57791d5b2..fbfebe50d3 100644 --- a/modules/gui/qt/qml/utils/GridItem.qml +++ b/modules/gui/qt/qml/utils/GridItem.qml @@ -27,7 +27,7 @@ import org.videolan.medialib 0.1 import "qrc:///utils/" as Utils import "qrc:///style/" -Item { +Rectangle { id: root property url image @@ -44,8 +44,12 @@ Item { signal itemClicked(int keys, int modifier) signal itemDoubleClicked(int keys, int modifier) - Item { + Rectangle { + id: gridItem x: shiftX + width: childrenRect.width + height: childrenRect.height + color: "transparent" MouseArea { id: mouseArea @@ -57,7 +61,6 @@ Item { width: childrenRect.width height: childrenRect.height - Column { Item { id: picture @@ -211,4 +214,4 @@ Item { } } } -} + _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
