Commit e6f0bedc authored by luyikei's avatar luyikei

MediaLibraryView.qml: Fix binding loop

parent 0a5964ba
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment