From d3c428efd8bf86e709a036eaf23901b679f4b7c9 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Fri, 6 Mar 2026 17:13:03 -0500 Subject: [PATCH] Change label justification --- StatusWindow/WindowSource.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()));