1
0

GuidebookWindow.xaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <controls:FancyWindow xmlns="https://spacestation14.io"
  2. xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
  3. xmlns:fancyTree="clr-namespace:Content.Client.UserInterface.Controls.FancyTree"
  4. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  5. SetSize="900 700"
  6. MinSize="100 200"
  7. Resizable="True"
  8. Title="{Loc 'guidebook-window-title'}">
  9. <SplitContainer Orientation="Horizontal" HorizontalExpand="True" Name="Split">
  10. <!-- Guide select -->
  11. <BoxContainer Orientation="Horizontal" Name="TreeBox">
  12. <fancyTree:FancyTree Name="Tree" VerticalExpand="True" HorizontalExpand="True" Access="Public"/>
  13. <cc:VSeparator StyleClasses="LowDivider" Margin="0 -2"/>
  14. </BoxContainer>
  15. <BoxContainer Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True">
  16. <BoxContainer Name="SearchContainer" Visible="False" HorizontalExpand="True">
  17. <LineEdit
  18. Name="SearchBar"
  19. PlaceHolder="{Loc 'guidebook-filter-placeholder-text'}"
  20. HorizontalExpand="True"
  21. Margin="0 5 10 5">
  22. </LineEdit>
  23. </BoxContainer>
  24. <BoxContainer Access="Internal" Name="ReturnContainer" Orientation="Horizontal" HorizontalAlignment="Right" Visible="False">
  25. <Button Name="HomeButton" Text="{Loc 'ui-rules-button-home'}" Margin="0 0 10 0"/>
  26. </BoxContainer>
  27. <ScrollContainer Name="Scroll" HScrollEnabled="False" HorizontalExpand="True" VerticalExpand="True">
  28. <Control>
  29. <BoxContainer Orientation="Vertical" Name="EntryContainer" Margin="5 5 5 5" Visible="False">
  30. </BoxContainer>
  31. <BoxContainer Orientation="Vertical" Name="Placeholder" Margin="5 5 5 5">
  32. <Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text'}"/>
  33. <Label HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Loc 'guidebook-placeholder-text-2'}"/>
  34. </BoxContainer>
  35. </Control>
  36. </ScrollContainer>
  37. </BoxContainer>
  38. </SplitContainer>
  39. </controls:FancyWindow>