From 35b4907e5214c41579b363c288f891f0db829324 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 26 Jun 2013 12:36:10 -0400 Subject: [PATCH] loginDialog: force user list and prompt to be the same width --- js/gdm/loginDialog.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 57b6019a3..459ec3970 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -479,7 +479,11 @@ const LoginDialog = new Lang.Class({ this._promptBox.add_constraint(new Clutter.AlignConstraint({ source: this.actor, align_axis: Clutter.AlignAxis.BOTH, factor: 0.5 })); + this.actor.add_child(this._promptBox); + this._userList.actor.add_constraint(new Clutter.BindConstraint({ source: this._promptBox, + coordinate: Clutter.BindCoordinate.WIDTH })); + this._promptUser = new St.Bin({ x_fill: true, x_align: St.Align.START }); this._promptBox.add(this._promptUser,