mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-15 00:44:22 +09:00
Add right align for sensor values
This commit is contained in:
@@ -32,9 +32,9 @@ const FreonItem = new Lang.Class({
|
|||||||
this._value = value;
|
this._value = value;
|
||||||
|
|
||||||
this.actor.add(new St.Icon({ style_class: 'system-status-icon', gicon : gIcon}));
|
this.actor.add(new St.Icon({ style_class: 'system-status-icon', gicon : gIcon}));
|
||||||
this.actor.add(new St.Label({text: label}));
|
this.actor.add(new St.Label({text: label}), {x_fill: true, expand: true});
|
||||||
this._valueLabel = new St.Label({text: value});
|
this._valueLabel = new St.Label({text: value});
|
||||||
this.actor.add(this._valueLabel, {align: St.Align.END});
|
this.actor.add(this._valueLabel);
|
||||||
},
|
},
|
||||||
|
|
||||||
addMainDot: function() {
|
addMainDot: function() {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user