diff --git a/StatusWindow/WindowSource.cs b/StatusWindow/WindowSource.cs index 9de7e9c..a15a57e 100644 --- a/StatusWindow/WindowSource.cs +++ b/StatusWindow/WindowSource.cs @@ -255,7 +255,9 @@ internal class WindowSource : IWindowSource, IDisposable if (text.Length > 0) 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()));