Align workspace indicator label vertically to center

https://bugzilla.gnome.org/show_bug.cgi?id=711823
This commit is contained in:
Maciek Borzecki
2013-12-13 19:27:52 +01:00
committed by Giovanni Campagna
parent d16fb714a3
commit 12e3f39ccd
+2 -1
View File
@@ -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);