[gnome-shell/wip/reorg: 11/15] loginDialog: drop padding between buttons and entry



commit 2d98903c9025b17bb1494fd5af22aa323f4b76a2
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jun 19 09:23:14 2013 -0400

    loginDialog: drop padding between buttons and entry
    
    Now that the closed session list preallocates space for its
    open self, there is a lot of padding between the entry and
    buttons.
    
    This commit helps alleviate the padding problem by getting rid
    of the large top padding set above the login buttons.

 data/theme/gnome-shell.css |    4 ++++
 js/ui/auth/loginDialog.js  |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index fee16d0..59b1e9a 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -2240,6 +2240,10 @@ StScrollBar StButton#vhandle:active {
     min-width: 350px;
 }
 
+.login-dialog-button-box {
+    spacing: 21px;
+}
+
 .login-dialog-prompt-login-hint-message {
     font-size: 10.5pt;
 }
diff --git a/js/ui/auth/loginDialog.js b/js/ui/auth/loginDialog.js
index 52c2a14..4ccfe03 100644
--- a/js/ui/auth/loginDialog.js
+++ b/js/ui/auth/loginDialog.js
@@ -180,7 +180,7 @@ const LoginDialog = new Lang.Class({
                               y_fill: true,
                               x_align: St.Align.START });
 
-        this._buttonBox = new St.BoxLayout({ style_class: 'modal-dialog-button-box',
+        this._buttonBox = new St.BoxLayout({ style_class: 'login-dialog-button-box',
                                              vertical: false });
         this._promptBox.add(this._buttonBox,
                             { expand:  true,


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