[gnome-shell] loginDialog: drop padding between buttons and entry



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

    loginDialog: drop padding between buttons and entry
    
    Now that we preallocate space for the prompt message there is
    a lot of loose space between the entry and the buttons.
    
    This commit helps tighten things up by getting rid
    of the large top padding set above the login buttons.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702308

 data/theme/gnome-shell.css |    4 ++++
 js/gdm/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 0dc5b70..5c1c1d7 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -2244,6 +2244,10 @@ StScrollBar StButton#vhandle:active {
     min-width: 350px;
 }
 
+.login-dialog-button-box {
+    spacing: 5px;
+}
+
 .login-dialog-prompt-login-hint-message {
     font-size: 10.5pt;
 }
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index adb5d55..57b6019 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -512,7 +512,7 @@ const LoginDialog = new Lang.Class({
         this._promptLoginHint = new St.Label({ style_class: 'login-dialog-prompt-login-hint-message' });
         this._promptBox.add(this._promptLoginHint);
 
-        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]