diff --git a/Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs b/Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs index 68294ea3af..a50df7e715 100644 --- a/Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs +++ b/Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs @@ -102,6 +102,7 @@ public sealed partial class PowerMonitoringWindow // Update tool tip button.ToolTip = Loc.GetString(name); + // Update power value // Don't use SI prefixes, just give the number in W, so that it is readily apparent which consumer is using a lot of power. button.PowerValue.Text = Loc.GetString("power-monitoring-window-button-value", ("value", Math.Round(entry.PowerValue).ToString("N0"))); @@ -500,7 +501,7 @@ public sealed class PowerMonitoringButton : Button }; MainContainer.AddChild(NameLocalized); - + BatteryLevel = new ProgressBar() { SetWidth = 47f, @@ -547,7 +548,8 @@ public sealed class PowerMonitoringButton : Button PowerValue = new Label() { HorizontalAlignment = HAlignment.Right, - SetWidth = 72f, + Align = Label.AlignMode.Right, + SetWidth = 80f, Margin = new Thickness(10, 0, 0, 0), ClipText = true, };