GatewayWindow.xaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <controls:FancyWindow xmlns="https://spacestation14.io"
  2. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  3. Title="{Loc 'gateway-window-title'}"
  4. MinSize="800 360">
  5. <BoxContainer Orientation="Vertical">
  6. <BoxContainer Orientation="Horizontal">
  7. <!-- This is wide as shit but makes it consistent with the cooldown label +
  8. handles localisations a bit better -->
  9. <Label Name="NextUnlockLabel"
  10. Text="{Loc 'gateway-window-portal-unlock'}"
  11. Margin="5"
  12. SetWidth="128"/>
  13. <ProgressBar Name="NextUnlockBar"
  14. HorizontalExpand="True"
  15. MinValue="0"
  16. MaxValue="1"
  17. SetHeight="25"/>
  18. <Label Name="NextUnlockText" Text="0" Margin="5"/>
  19. </BoxContainer>
  20. <BoxContainer Orientation="Horizontal">
  21. <Label Name="NextReadyLabel"
  22. Text="{Loc 'gateway-window-portal-cooldown'}"
  23. Margin="5"
  24. SetWidth="128"/>
  25. <ProgressBar Name="NextReadyBar"
  26. HorizontalExpand="True"
  27. MinValue="0"
  28. MaxValue="1"
  29. SetHeight="25"/>
  30. <Label Name="NextCloseText" Text="0" Margin="5"/>
  31. </BoxContainer>
  32. <controls:HLine Color="#404040" Thickness="2" Margin="0 5 0 5"/>
  33. <BoxContainer Name="Container"
  34. Orientation="Vertical"
  35. Margin="5 0 5 0"/>
  36. </BoxContainer>
  37. </controls:FancyWindow>