Portable Generator Rework (#19302)
This commit is contained in:
committed by
GitHub
parent
50828363fe
commit
bf16698efa
@@ -1,22 +1,39 @@
|
||||
<controls:FancyWindow xmlns="https://spacestation14.io"
|
||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
||||
MinSize="350 130"
|
||||
SetSize="360 180"
|
||||
Title="{Loc 'generator-ui-title'}">
|
||||
MinSize="450 235"
|
||||
SetSize="450 235"
|
||||
Resizable="False"
|
||||
Title="{Loc 'portable-generator-ui-title'}">
|
||||
<BoxContainer Margin="4 0" Orientation="Horizontal">
|
||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="2" VerticalAlignment="Center" Margin="5">
|
||||
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="2" VerticalAlignment="Top" Margin="5">
|
||||
<GridContainer Margin="2 0 0 0" Columns="2" HorizontalExpand="True">
|
||||
<Label Name="StatusLabel" Text="{Loc 'portable-generator-ui-power-switch'}" HorizontalExpand="True" />
|
||||
<Control MinWidth="120">
|
||||
<Button Name="StartButton" Text="{Loc 'portable-generator-ui-start'}" />
|
||||
<Button Name="StopButton" Text="{Loc 'portable-generator-ui-stop'}" />
|
||||
<ProgressBar Name="StartProgress" MaxValue="1" />
|
||||
<Label Name="LabelUnanchored" Text="{Loc 'portable-generator-ui-unanchored'}" />
|
||||
</Control>
|
||||
<!-- Power -->
|
||||
<Label Text="{Loc 'generator-ui-target-power-label'}"/>
|
||||
<Label Text="{Loc 'portable-generator-ui-target-power-label'}"/>
|
||||
<SpinBox Name="TargetPower" HorizontalExpand="True"/>
|
||||
<Label Text="{Loc 'generator-ui-efficiency-label'}"/>
|
||||
<Label Name="Efficiency" Text="???%" HorizontalExpand="True"/>
|
||||
<Label Text="{Loc 'generator-ui-fuel-use-label'}"/>
|
||||
<Label Text="{Loc 'portable-generator-ui-efficiency-label'}"/>
|
||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||
<Label Name="Efficiency" Text="???%" />
|
||||
<Label Name="Eta" HorizontalExpand="True" Margin="4 0 0 0" />
|
||||
</BoxContainer>
|
||||
<Label Text="{Loc 'portable-generator-ui-fuel-use-label'}"/>
|
||||
<ProgressBar Name="FuelFraction" MinValue="0" MaxValue="1" HorizontalExpand="True"/>
|
||||
<Label Text="{Loc 'generator-ui-fuel-left-label'}"/>
|
||||
<Label Name="FuelLeft" Text="0" HorizontalExpand="True"/>
|
||||
<Label Text="{Loc 'portable-generator-ui-fuel-left-label'}"/>
|
||||
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
|
||||
<Label Name="FuelLeft" Text="0" HorizontalExpand="True"/>
|
||||
<Button Name="FuelEject" Text="{Loc 'portable-generator-ui-eject'}" />
|
||||
</BoxContainer>
|
||||
<Label Name="OutputSwitchLabel" Text="{Loc 'portable-generator-ui-switch'}" Visible="False" />
|
||||
<Button Name="OutputSwitchButton" Visible="False" />
|
||||
</GridContainer>
|
||||
<Label Margin="2 0 0 0" Name="CloggedLabel" FontColorOverride="Red" Text="{Loc 'portable-generator-ui-clogged'}" />
|
||||
</BoxContainer>
|
||||
<cc:VSeparator StyleClasses="LowDivider"/>
|
||||
<PanelContainer Margin="12 0 0 0" StyleClasses="Inset" VerticalAlignment="Center">
|
||||
|
||||
Reference in New Issue
Block a user