From ffbc1fd190b4d5997a33e720e5d536a2dadea5fa Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 5 Sep 2012 14:23:45 -0300 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b18c18da0..6fcbda747 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',