[gnome-shell] run-dialog: Center error message vertically



commit 9617e83d88649da5154981c362cb2662ff6caf08
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jan 27 21:56:12 2011 +0100

    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.

 js/ui/runDialog.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js
index a86e9bd..5bf578b 100644
--- a/js/ui/runDialog.js
+++ b/js/ui/runDialog.js
@@ -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();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]