From 12e3f39ccd0897e828c665eb9789a9a7fa64c770 Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Mon, 11 Nov 2013 09:52:50 +0100 Subject: [PATCH] Align workspace indicator label vertically to center https://bugzilla.gnome.org/show_bug.cgi?id=711823 --- extensions/workspace-indicator/extension.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/workspace-indicator/extension.js b/extensions/workspace-indicator/extension.js index 7f653244..96fff458 100644 --- a/extensions/workspace-indicator/extension.js +++ b/extensions/workspace-indicator/extension.js @@ -30,7 +30,8 @@ const WorkspaceIndicator = new Lang.Class({ this.parent(0.0, _("Workspace Indicator")); this._currentWorkspace = global.screen.get_active_workspace().index(); - this.statusLabel = new St.Label({ text: this._labelText() }); + this.statusLabel = new St.Label({ y_align: Clutter.ActorAlign.CENTER, + text: this._labelText() }); this.actor.add_actor(this.statusLabel);