Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d3c428efd8 |
@@ -255,7 +255,9 @@ internal class WindowSource : IWindowSource, IDisposable
|
|||||||
if (text.Length > 0)
|
if (text.Length > 0)
|
||||||
text.AppendLine();
|
text.AppendLine();
|
||||||
|
|
||||||
text.Append($"{sensorEntry.Label.PadLeft(labelLength)}: {string.Format(sensorEntry.SensorValueFormat, sensorEntry.Sensor.Value)}");
|
var label = $"{sensorEntry.Label}:";
|
||||||
|
|
||||||
|
text.Append($"{label.PadRight(labelLength + 1)} {string.Format(sensorEntry.SensorValueFormat, sensorEntry.Sensor.Value)}");
|
||||||
}
|
}
|
||||||
|
|
||||||
_dispatcher.Invoke(() => _floatingStatusWindow.SetText(text.ToString()));
|
_dispatcher.Invoke(() => _floatingStatusWindow.SetText(text.ToString()));
|
||||||
|
|||||||
Reference in New Issue
Block a user