[vlmc-devel] MediaLibraryView.qml: Fix binding loop
Yikai Lu
git at videolan.org
Mon Jul 10 12:16:35 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jul 10 17:18:14 2017 +0900| [e6f0bedc300037e7364d3fc7216d14c849b820a4] | committer: Yikai Lu
MediaLibraryView.qml: Fix binding loop
> https://code.videolan.org/videolan/vlmc/commit/e6f0bedc300037e7364d3fc7216d14c849b820a4
---
src/Gui/library/ui/MediaLibraryView.qml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Gui/library/ui/MediaLibraryView.qml b/src/Gui/library/ui/MediaLibraryView.qml
index 1d1d55e8..2fb943ea 100644
--- a/src/Gui/library/ui/MediaLibraryView.qml
+++ b/src/Gui/library/ui/MediaLibraryView.qml
@@ -17,7 +17,7 @@ Rectangle {
Flickable {
id: fItem
contentHeight: inputRect.height + gridView.height
- contentWidth: parent.width
+ contentWidth: parent.parent.width
Column {
Rectangle {
@@ -55,7 +55,7 @@ Rectangle {
Flickable {
id: gridView
width: sView.viewport.width
- height: ( mlRepeater.count + 3 - ( mlRepeater.count % 3 ) ) / 3 * cellHeight
+ height: contentHeight
property int cellWidth: 200
property int cellHeight: cellWidth
More information about the Vlmc-devel
mailing list