switchMonitor: Center align switcher icon's label
Fallout from 104071acbd
.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/913
This commit is contained in:
parent
a8f44be5c1
commit
e07a5749b7
@ -86,7 +86,10 @@ class SwitchMonitorSwitcher extends SwitcherPopup.SwitcherList {
|
||||
icon_size: APP_ICON_SIZE });
|
||||
box.add_child(icon);
|
||||
|
||||
let text = new St.Label({ text: item.label });
|
||||
let text = new St.Label({
|
||||
text: item.label,
|
||||
x_align: Clutter.ActorAlign.CENTER,
|
||||
});
|
||||
box.add_child(text);
|
||||
|
||||
this.addItem(box, text);
|
||||
|
Loading…
Reference in New Issue
Block a user