js: Fix alignment
The old StBin alignment properties defaulted to MIDDLE, while the ClutterActor properties use FILL. Fix the resulting fallout by setting the alignment explicitly where necessary. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/809
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
a0b0237689
commit
697912d8a4
@ -452,7 +452,11 @@ var SearchResultsView = GObject.registerClass({
|
||||
|
||||
this.add_child(this._scrollView);
|
||||
|
||||
this._statusText = new St.Label({ style_class: 'search-statustext' });
|
||||
this._statusText = new St.Label({
|
||||
style_class: 'search-statustext',
|
||||
x_align: Clutter.ActorAlign.CENTER,
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
});
|
||||
this._statusBin = new St.Bin({ y_expand: true });
|
||||
this.add_child(this._statusBin);
|
||||
this._statusBin.add_actor(this._statusText);
|
||||
|
Reference in New Issue
Block a user