search: Expand search results view

Otherwise the search results can end up only as large as their content.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5924
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2744>
This commit is contained in:
Sebastian Keller 2023-04-21 01:08:23 +02:00
parent ea629cabbf
commit f6a8b63276

View File

@ -537,7 +537,12 @@ var SearchResultsView = GObject.registerClass({
Signals: { 'terms-changed': {} },
}, class SearchResultsView extends St.BoxLayout {
_init() {
super._init({ name: 'searchResults', vertical: true });
super._init({
name: 'searchResults',
vertical: true,
x_expand: true,
y_expand: true,
});
this._parentalControlsManager = ParentalControlsManager.getDefault();
this._parentalControlsManager.connect('app-filter-changed', this._reloadRemoteProviders.bind(this));