apps-menu: Center app labels
Currently labels are not vertically centered, unlike icons. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=740724
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user