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
This commit is contained in:
Florian Müllner 2015-03-04 20:11:29 +01:00
parent ef3077a7fe
commit f5e07fbeba

View File

@ -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);