Change label justification
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 56s
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 56s
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user