Files
tbd-station-14/Content.Client/Power/SolarControlWindow.xaml
Paul ed384fbc91 fixes the solarcontrolwindow
updates submodule (just realized i didn't need to, whatever)
2021-07-22 20:02:18 +02:00

33 lines
1.5 KiB
XML

<SS14Window xmlns="https://spacestation14.io"
xmlns:power="clr-namespace:Content.Client.Power"
Title="{Loc 'solar-control-window-title'}"
Resizable="False">
<BoxContainer Orientation="Horizontal">
<GridContainer Columns="2">
<!--
little secret: the reason I put the values
in the first column is because otherwise the UI
layouter autoresizes the window to be too small
-->
<Label Text="{Loc 'solar-control-window-output-power'}"/><Label Text=""/>
<Label Name="OutputPower"/><Label Text="{Loc 'solar-control-window-watts'}"/>
<Label Text="{Loc 'solar-control-window-sun-angle'}"/><Label Text=""/>
<Label Name="SunAngle"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
<Label Text="{Loc 'solar-control-window-panel-angle'}"/><Label Text=""/>
<LineEdit Name="PanelRotation" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
<Label Text="{Loc 'solar-control-window-panel-angular-velocity'}"/><Label Text=""/>
<LineEdit Name="PanelVelocity" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees-per-minute'}"/>
<Label Text="{Loc 'solar-control-window-press-enter-to-confirm'}"/><Label Text=""/>
</GridContainer>
<power:SolarControlNotARadar Name="NotARadar"/>
</BoxContainer>
</SS14Window>