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
This commit is contained in:
Ray Strode 2013-06-19 09:23:14 -04:00
parent 6e00b6e214
commit bd5c04b923
2 changed files with 5 additions and 1 deletions

View File

@ -2244,6 +2244,10 @@ StScrollBar StButton#vhandle:active {
min-width: 350px; min-width: 350px;
} }
.login-dialog-button-box {
spacing: 5px;
}
.login-dialog-prompt-login-hint-message { .login-dialog-prompt-login-hint-message {
font-size: 10.5pt; font-size: 10.5pt;
} }

View File

@ -512,7 +512,7 @@ const LoginDialog = new Lang.Class({
this._promptLoginHint = new St.Label({ style_class: 'login-dialog-prompt-login-hint-message' }); this._promptLoginHint = new St.Label({ style_class: 'login-dialog-prompt-login-hint-message' });
this._promptBox.add(this._promptLoginHint); 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 }); vertical: false });
this._promptBox.add(this._buttonBox, this._promptBox.add(this._buttonBox,
{ expand: true, { expand: true,