[gnome-shell] unlockDialog: Fix centering of label in screen shield
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] unlockDialog: Fix centering of label in screen shield
- Date: Wed, 5 Sep 2012 17:26:23 +0000 (UTC)
commit ffbc1fd190b4d5997a33e720e5d536a2dadea5fa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Sep 5 14:23:45 2012 -0300
unlockDialog: Fix centering of label in screen shield
The code here was trying to center the label, but that didn't
happen because we allocated the entire space to the label, which
still plonks it at the top.
js/ui/unlockDialog.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index b18c18d..6fcbda7 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -41,6 +41,7 @@ const UserWidget = new Lang.Class({
this.actor.add(this._label,
{ expand: true,
x_fill: true,
+ y_fill: false,
y_align: St.Align.MIDDLE });
this._userLoadedId = this._user.connect('notify::is-loaded',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]