1
0

CargoConsoleMenu.xaml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <controls:FancyWindow xmlns="https://spacestation14.io"
  2. xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  4. SetSize="600 600"
  5. MinSize="600 600">
  6. <BoxContainer Orientation="Vertical" Margin="5 0 5 0">
  7. <BoxContainer Orientation="Horizontal">
  8. <Label Text="{Loc 'cargo-console-menu-account-name-label'}"
  9. StyleClasses="LabelKeyText" />
  10. <Label Name="AccountNameLabel"
  11. Text="{Loc 'cargo-console-menu-account-name-none-text'}" />
  12. </BoxContainer>
  13. <BoxContainer Orientation="Horizontal">
  14. <Label Text="{Loc 'cargo-console-menu-points-label'}"
  15. StyleClasses="LabelKeyText" />
  16. <Label Name="PointsLabel"
  17. Text="$0" />
  18. </BoxContainer>
  19. <BoxContainer Orientation="Horizontal">
  20. <Label Text="{Loc 'cargo-console-menu-order-capacity-label'}"
  21. StyleClasses="LabelKeyText" />
  22. <Label Name="ShuttleCapacityLabel"
  23. Text="0/20" />
  24. </BoxContainer>
  25. <BoxContainer Orientation="Horizontal">
  26. <OptionButton Name="Categories"
  27. Prefix="{Loc 'cargo-console-menu-categories-label'}"
  28. HorizontalExpand="True" />
  29. <LineEdit Name="SearchBar"
  30. PlaceHolder="{Loc 'cargo-console-menu-search-bar-placeholder'}"
  31. HorizontalExpand="True" />
  32. </BoxContainer>
  33. <ScrollContainer HorizontalExpand="True"
  34. VerticalExpand="True"
  35. SizeFlagsStretchRatio="6">
  36. <BoxContainer Name="Products"
  37. Orientation="Vertical"
  38. HorizontalExpand="True"
  39. VerticalExpand="True">
  40. <!-- Products get added here by code -->
  41. </BoxContainer>
  42. </ScrollContainer>
  43. <PanelContainer VerticalExpand="True"
  44. SizeFlagsStretchRatio="6">
  45. <PanelContainer.PanelOverride>
  46. <gfx:StyleBoxFlat BackgroundColor="#000000" />
  47. </PanelContainer.PanelOverride>
  48. <ScrollContainer VerticalExpand="True">
  49. <BoxContainer Orientation="Vertical">
  50. <Label Text="{Loc 'cargo-console-menu-requests-label'}" />
  51. <BoxContainer Name="Requests"
  52. Orientation="Vertical"
  53. VerticalExpand="True">
  54. <!-- Requests are added here by code -->
  55. </BoxContainer>
  56. <Label Text="{Loc 'cargo-console-menu-orders-label'}" />
  57. <BoxContainer Name="Orders"
  58. Orientation="Vertical"
  59. StyleClasses="transparentItemList"
  60. VerticalExpand="True">
  61. <!-- Orders are added here by code -->
  62. </BoxContainer>
  63. </BoxContainer>
  64. </ScrollContainer>
  65. </PanelContainer>
  66. <TextureButton VerticalExpand="True" />
  67. </BoxContainer>
  68. </controls:FancyWindow>