From f5e07fbeba09f062d7ee4e65345980354f741f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 4 Mar 2015 20:11:29 +0100 Subject: [PATCH] panel: Center app-menu label vertically Commit 333becef45 accidentally removed the y_align property, bring it back. https://bugzilla.gnome.org/show_bug.cgi?id=745110 --- js/ui/panel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index c1ca12975..2e6ddab73 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -117,7 +117,8 @@ const AppMenuButton = new Lang.Class({ this._iconBox = new St.Bin({ style_class: 'app-menu-icon' }); this._container.add_actor(this._iconBox); - this._label = new St.Label(); + this._label = new St.Label({ y_expand: true, + y_align: Clutter.ActorAlign.CENTER }); this._container.add_actor(this._label); this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM); this._container.add_actor(this._arrow);