We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc978b commit bd9ad22Copy full SHA for bd9ad22
files/usr/share/cinnamon/applets/recent@cinnamon.org/applet.js
@@ -1,3 +1,4 @@
1
+const Clutter = imports.gi.Clutter;
2
const DocInfo = imports.misc.docInfo;
3
const Gtk = imports.gi.Gtk;
4
const Gio = imports.gi.Gio;
@@ -21,7 +22,10 @@ class MyPopupMenuItem extends PopupMenu.PopupBaseMenuItem {
21
22
this.box.add(this.icon);
23
}
24
- this.label = new St.Label({ text: text });
25
+ this.label = new St.Label({
26
+ text: text,
27
+ y_align: Clutter.ActorAlign.CENTER,
28
+ });
29
this.box.add(this.label);
30
this.addActor(this.box);
31
0 commit comments