[gnome-shell/wip/login-unlock-merge: 4/9] loginDialog: drop padding between buttons and entry
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/login-unlock-merge: 4/9] loginDialog: drop padding between buttons and entry
- Date: Wed, 10 Jul 2013 14:33:48 +0000 (UTC)
commit c7104256129c67539a229fe375b34e0464d20976
Author: Ray Strode <rstrode redhat com>
Date: Wed Jun 19 09:23:14 2013 -0400
loginDialog: drop padding between buttons and entry
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/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 aa68d0a..9596483 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -2238,6 +2238,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]