[gnome-shell/uajain/align-switcher-label] switchMonitor: Center align switcher icon's label
- From: Umang Jain <uajain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/uajain/align-switcher-label] switchMonitor: Center align switcher icon's label
- Date: Thu, 2 Jan 2020 07:34:51 +0000 (UTC)
commit e07a5749b7ec25f2adcdd60dc09dcd401736fd2c
Author: Umang Jain <mailumangjain gmail com>
Date: Thu Jan 2 12:55:14 2020 +0530
switchMonitor: Center align switcher icon's label
Fallout from 104071acbd.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/913
js/ui/switchMonitor.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/switchMonitor.js b/js/ui/switchMonitor.js
index ded8c49c02..5ac5825224 100644
--- a/js/ui/switchMonitor.js
+++ b/js/ui/switchMonitor.js
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]