mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue