loginDialog: Fill UserListItem layout to show the timed login indicator

When the timed indicator is shown the UserListItem layout should fill
so that the timed indicator can expand to use the whole item space.

So, always use the default value for x-align that will make it to fill
the available space without causing any regression when the timed
indicator is hidden.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3675
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1644>
This commit is contained in:
Marco Trevisan (Treviño) 2021-02-05 16:58:49 +01:00 committed by Marge Bot
parent fe3c9be5ab
commit a19e6573e1

View File

@ -42,7 +42,6 @@ var UserListItem = GObject.registerClass({
_init(user) {
let layout = new St.BoxLayout({
vertical: true,
x_align: Clutter.ActorAlign.START,
});
super._init({
style_class: 'login-dialog-user-list-item',