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:
parent
ef3077a7fe
commit
f5e07fbeba
@ -117,7 +117,8 @@ const AppMenuButton = new Lang.Class({
|
|||||||
this._iconBox = new St.Bin({ style_class: 'app-menu-icon' });
|
this._iconBox = new St.Bin({ style_class: 'app-menu-icon' });
|
||||||
this._container.add_actor(this._iconBox);
|
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._container.add_actor(this._label);
|
||||||
this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM);
|
this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM);
|
||||||
this._container.add_actor(this._arrow);
|
this._container.add_actor(this._arrow);
|
||||||
|
Loading…
Reference in New Issue
Block a user