NetworkConfiguratorLinkMenu.xaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <controls:FancyWindow xmlns="https://spacestation14.io"
  2. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  3. xmlns:networkConfigurator="clr-namespace:Content.Client.NetworkConfigurator"
  4. Title="Network Configurator" MinSize="620 400" RectClipContent="True">
  5. <BoxContainer Orientation="Vertical" VerticalExpand="True">
  6. <BoxContainer Orientation="Horizontal" HorizontalExpand="True">
  7. <Label Margin="12 0" Text="{Loc signal-port-selector-help}"/>
  8. </BoxContainer>
  9. <Control VerticalExpand="True" HorizontalExpand="True" Margin="12 6 12 0">
  10. <PanelContainer Name="MainPanel" HorizontalExpand="False" VerticalExpand="True" />
  11. <ScrollContainer HorizontalExpand="True" VerticalExpand="True" HScrollEnabled="True">
  12. <BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True" Margin="6">
  13. <BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.3">
  14. <RichTextLabel Name="HeaderLeft"/>
  15. <BoxContainer Name="ButtonContainerLeft" Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True"/>
  16. </BoxContainer>
  17. <BoxContainer Name="MiddleContainer" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True" SizeFlagsStretchRatio="0.2"/>
  18. <BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="0.3">
  19. <RichTextLabel Name="HeaderRight"/>
  20. <BoxContainer Name="ButtonContainerRight" Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True"/>
  21. </BoxContainer>
  22. </BoxContainer>
  23. </ScrollContainer>
  24. </Control>
  25. <BoxContainer Orientation="Horizontal" HorizontalExpand="True" Margin="12 4">
  26. <BoxContainer Orientation="Horizontal">
  27. <Button Name="ButtonClear" SetHeight="32" StyleClasses="OpenRight" Text="{Loc signal-port-selector-menu-clear}"/>
  28. <Button Name="ButtonLinkDefault" SetHeight="32" StyleClasses="OpenLeft" Text="{Loc signal-port-selector-menu-link-defaults}"/>
  29. </BoxContainer>
  30. <Control HorizontalExpand="True"/>
  31. <Control>
  32. <Button Name="ButtonOk" MinHeight="26" StyleClasses="ButtonColorGreen" Text="{Loc signal-port-selector-menu-done}"></Button>
  33. </Control>
  34. </BoxContainer>
  35. <Control SetHeight="28" Margin="1 0 2 1">
  36. <PanelContainer Name="FooterPanel"></PanelContainer>
  37. <BoxContainer Name="ContentFooter" HorizontalExpand="True" SetHeight="28">
  38. <Label Text="Net#Link ™" VerticalAlignment="Center" Margin="6 0" StyleClasses="PdaContentFooterText"/>
  39. <Label Name="AddressLabel" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="6 0" StyleClasses="PdaContentFooterText"/>
  40. <Control HorizontalExpand="True"/>
  41. <Label Name="FromAddressLabel" Margin="6 0" StyleClasses="PdaContentFooterText"/>
  42. <Label SetWidth="25" StyleClasses="PdaContentFooterText" Align="Center" Text="➝"/><!--Turn this into an arrow texture-->
  43. <Label Name="ToAddressLabel" Margin="6 0" StyleClasses="PdaContentFooterText"/>
  44. </BoxContainer>
  45. </Control>
  46. </BoxContainer>
  47. </controls:FancyWindow>