@@ -20,24 +20,35 @@ import Ubuntu.Components.Popups 1.2
20import "Filters" as Filters
20import "Filters" as Filters
23 objectName: "filtersPopover"
24 objectName: "filtersPopover"
26 top: parent.top
29 top: parent.top
27 left: parent.left
30 left: parent.left
28 right: parent.right
31 right: parent.right
33+ // Popover doesn't like being 75% or bigger than the screen (counting the "empty" part on top)
34+ height: Math.min(root.parent.height * 3 / 4 - flickable.mapToItem(null, 0, 0).y - 1, column.height);
35+ contentHeight: column.height
31− Repeater {
42+ Repeater {
33− model: scopeView.scope.filters
43+ model: scopeView.scope.filters
35− delegate: Filters.FilterWidgetFactory {
45+ delegate: Filters.FilterWidgetFactory {
36− width: parent.width
46+ width: parent.width
38− widgetId: id
48+ widgetId: id
39− widgetType: type
49+ widgetType: type
40− widgetData: filter
50+ widgetData: filter