on xenial help sign in
use binding for popover width
commitaec1055b42707de813a670a9d27f9a49dbc8a150 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateTue 5 Jul 2016, 10:26 (10 years ago) parente57b7bf
1 file changed+1−1
qml/Dash/GenericScopeView.qml+1−1
qml/Dash/GenericScopeView.qml+1−1
@@ -662,7 +662,7 @@ FocusScope {
662662 }
663663 onShowFiltersPopup: { // item
664664 extraPanel.visible = false;
665− scopeView.filtersPopover = PopupUtils.open(Qt.resolvedUrl("FiltersPopover.qml"), item, { "contentWidth": scopeView.width - units.gu(2) } );
665+ scopeView.filtersPopover = PopupUtils.open(Qt.resolvedUrl("FiltersPopover.qml"), item, { "contentWidth": Qt.binding(function() { return scopeView.width - units.gu(2); } ) } );
666666 scopeView.filtersPopover.Component.onDestruction.connect(function () {
667667 categoryView.pageHeader.closePopup(false, true);
668668 categoryView.pageHeader.unfocus(true); // remove the focus from the search field