run-dialog: Center error message vertically
Commit 912a30c56
left error message and icon aligned to the top,
but it looks better when the message is centered vertically.
This commit is contained in:
parent
912a30c566
commit
9617e83d88
@ -232,7 +232,9 @@ __proto__: ModalDialog.ModalDialog.prototype,
|
||||
this._errorMessage = new St.Label({ style_class: 'run-dialog-error-label' });
|
||||
this._errorMessage.clutter_text.line_wrap = true;
|
||||
|
||||
this._errorBox.add(this._errorMessage, { expand: true, y_align: St.Align.MIDDLE });
|
||||
this._errorBox.add(this._errorMessage, { expand: true,
|
||||
y_align: St.Align.MIDDLE,
|
||||
y_fill: false });
|
||||
|
||||
this._errorBox.hide();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user