1
0

PdaWindow.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031
  1. <pda:PdaWindow xmlns="https://spacestation14.io"
  2. xmlns:pda="clr-namespace:Content.Client.PDA"
  3. MouseFilter="Stop">
  4. <PanelContainer Name="Background" Access="Public" StyleClasses="PdaBackgroundRect" />
  5. <!-- The negative markin fixes a gap between the window edges and the decorative panel -->
  6. <PanelContainer Name="AccentH" Margin="-1 170 -2 170" Access="Public" StyleClasses="PdaBackground" />
  7. <PanelContainer Name="AccentV" Margin="220 -1 220 -1" Access="Public" StyleClasses="PdaBackground" />
  8. <PanelContainer Name="Border" StyleClasses="PdaBorderRect" />
  9. <BoxContainer Orientation="Vertical" HorizontalExpand="True">
  10. <!--Heading-->
  11. <BoxContainer SetHeight="26" Margin="4 2 8 0" Orientation="Horizontal">
  12. <Control HorizontalExpand="True"/>
  13. <TextureButton Name="CloseButton" StyleClasses="windowCloseButton"
  14. VerticalAlignment="Center" Margin="0 4 4 0"/>
  15. </BoxContainer>
  16. <!--Content-->
  17. <Control Margin="18 0" RectClipContent="True" VerticalExpand="true"
  18. HorizontalExpand="True">
  19. <PanelContainer Name="ContentBorder" StyleClasses="PdaBackground"/>
  20. <Control Margin="3 3">
  21. <PanelContainer Name="ContentBackground" StyleClasses="PdaContentBackground"/>
  22. <BoxContainer Access="Public" Name="ContentsContainer" Orientation="Vertical" StyleClasses="PdaContent"/>
  23. </Control>
  24. </Control>
  25. <!--Footer-->
  26. <BoxContainer Orientation="Horizontal" SetHeight="28">
  27. <Label Text="{Loc 'comp-pda-ui-footer'}" StyleClasses="PdaWindowFooterText" Margin="32 0 0 6"/>
  28. </BoxContainer>
  29. </BoxContainer>
  30. </pda:PdaWindow>