summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Keller <skeller@gnome.org>2023-04-21 01:08:23 +0200
committerSebastian Keller <skeller@gnome.org>2023-04-21 01:08:23 +0200
commitf6a8b6327652bf714090e98902e7621e0e840e6e (patch)
tree640db52b833b7e40dbc7eeb077c20e96e75a0d56
parentea629cabbfa51d5ad2a521970f6c5288346e55fe (diff)
downloadgnome-shell-f6a8b6327652bf714090e98902e7621e0e840e6e.tar.gz
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>
-rw-r--r--js/ui/search.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/ui/search.js b/js/ui/search.js
index 8f96973bf..7d50ef234 100644
--- a/js/ui/search.js
+++ b/js/ui/search.js
@@ -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));