Add right align for sensor values

This commit is contained in:
UshakovVasilii
2014-06-20 03:01:45 +04:00
parent 6a1c73765b
commit 3417cde7f4
2 changed files with 2 additions and 2 deletions

View File

@@ -32,9 +32,9 @@ const FreonItem = new Lang.Class({
this._value = value;
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.actor.add(this._valueLabel, {align: St.Align.END});
this.actor.add(this._valueLabel);
},
addMainDot: function() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 14 KiB