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:
parent
49189e0e43
commit
efca9e11d6
@ -71,7 +71,7 @@ const UnlockDialog = new Lang.Class({
|
|||||||
child: otherUserLabel,
|
child: otherUserLabel,
|
||||||
reactive: true,
|
reactive: true,
|
||||||
x_align: St.Align.START,
|
x_align: St.Align.START,
|
||||||
x_fill: true });
|
x_fill: false });
|
||||||
this._otherUserButton.connect('clicked', Lang.bind(this, this._otherUserClicked));
|
this._otherUserButton.connect('clicked', Lang.bind(this, this._otherUserClicked));
|
||||||
this._promptBox.add_child(this._otherUserButton);
|
this._promptBox.add_child(this._otherUserButton);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user