places the temperature in the center of the icon box instead of at the left start (#247)

This commit is contained in:
kaduvert
2022-10-17 08:54:19 +02:00
committed by GitHub
parent 9939f2888a
commit 5275a093ea

View File

@@ -11,7 +11,7 @@ var FreonItem = GObject.registerClass(class FreonItem extends PopupMenu.PopupBas
this._key = key;
this._gIcon = gIcon;
this._labelActor = new St.Label({text: displayName ? displayName : label, x_align: Clutter.ActorAlign.START, x_expand: true});
this._labelActor = new St.Label({text: displayName ? displayName : label, x_align: Clutter.ActorAlign.CENTER, x_expand: true});
this.actor.add(new St.Icon({ style_class: 'popup-menu-icon', gicon : gIcon}));
this.actor.add_child(this._labelActor);
this._valueLabel = new St.Label({text: value});