Change label justification
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 56s

This commit is contained in:
2026-03-06 17:13:03 -05:00
parent 019781b2f4
commit d3c428efd8

View File

@@ -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()));