1
0

SolarControlWindow.xaml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <DefaultWindow xmlns="https://spacestation14.io"
  2. xmlns:power="clr-namespace:Content.Client.Power"
  3. Title="{Loc 'solar-control-window-title'}"
  4. Resizable="False">
  5. <BoxContainer Orientation="Horizontal">
  6. <GridContainer Columns="2">
  7. <!--
  8. little secret: the reason I put the values
  9. in the first column is because otherwise the UI
  10. layouter autoresizes the window to be too small
  11. -->
  12. <Label Text="{Loc 'solar-control-window-output-power'}"/><Label Text=""/>
  13. <Label Name="OutputPower"/><Label Text="{Loc 'solar-control-window-watts'}"/>
  14. <Label Text="{Loc 'solar-control-window-sun-angle'}"/><Label Text=""/>
  15. <Label Name="SunAngle"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
  16. <Label Text="{Loc 'solar-control-window-panel-angle'}"/><Label Text=""/>
  17. <LineEdit Name="PanelRotation" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees'}"/>
  18. <Label Text="{Loc 'solar-control-window-panel-angular-velocity'}"/><Label Text=""/>
  19. <LineEdit Name="PanelVelocity" HorizontalExpand="True"/><Label Text="{Loc 'solar-control-window-degrees-per-minute'}"/>
  20. <Label Text="{Loc 'solar-control-window-press-enter-to-confirm'}"/><Label Text=""/>
  21. </GridContainer>
  22. <power:SolarControlNotARadar Name="NotARadar"/>
  23. </BoxContainer>
  24. </DefaultWindow>