unlockDialog: Explicitly set horizontal alignment

When set to fill, the label will always end up left-aligned, which
is only correct in LTR locales. Set the alignment explicitly to
work in both RTL and LTR locales.

https://bugzilla.gnome.org/show_bug.cgi?id=712638
This commit is contained in:
Yosef Or Boczko 2013-12-11 22:36:49 +02:00
parent 49189e0e43
commit efca9e11d6

View File

@ -71,7 +71,7 @@ const UnlockDialog = new Lang.Class({
child: otherUserLabel,
reactive: true,
x_align: St.Align.START,
x_fill: true });
x_fill: false });
this._otherUserButton.connect('clicked', Lang.bind(this, this._otherUserClicked));
this._promptBox.add_child(this._otherUserButton);
} else {