Don't use childrenRect since it doesn't shrink when children shrink
commitec792d2a3728035aacd3a2b9c275b2d88fc2a1b0
authorAlbert Astals Cid <albert.astals@canonical.com>
dateWed 25 Nov 2015, 12:10 (11 years ago)
parent49bb8b9
qml/Dash/Filters/FilterWidgetFactory.qml+1−1
@@ -31,7 +31,7 @@ Item {
3131 //! Widget data, forwarded to the widget as is.
3232 property var widgetData: null
3333
34− implicitHeight: childrenRect.height + title.anchors.topMargin
34+ implicitHeight: title.height + title.anchors.topMargin + loader.height
3535
3636 Label {
3737 id: title