From 92012f6626cb154c9ea9de0e39ffd0f0761ae2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 26 Nov 2014 19:03:49 +0100 Subject: [PATCH] apps-menu: Center app labels Currently labels are not vertically centered, unlike icons. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=740724 --- extensions/apps-menu/extension.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js index a8fb74d5..f8438fd0 100644 --- a/extensions/apps-menu/extension.js +++ b/extensions/apps-menu/extension.js @@ -58,7 +58,8 @@ const ApplicationMenuItem = new Lang.Class({ this._iconBin = new St.Bin(); this.actor.add_child(this._iconBin); - let appLabel = new St.Label({ text: app.get_name() }); + let appLabel = new St.Label({ text: app.get_name(), y_expand: true, + y_align: Clutter.ActorAlign.CENTER }); this.actor.add_child(appLabel, { expand: true }); this.actor.label_actor = appLabel;