NewsWriterMenu.xaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <controls:FancyWindow
  2. xmlns="https://spacestation14.io"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  4. xmlns:ui="clr-namespace:Content.Client.MassMedia.Ui"
  5. xmlns:graphics="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
  6. Title="{Loc 'news-write-ui-default-title'}"
  7. MinSize="348 443"
  8. SetSize="348 443">
  9. <ui:ArticleEditorPanel Name="ArticleEditorPanel" HorizontalAlignment="Left" VerticalExpand="True"
  10. MinWidth="410" MinHeight="370" Margin="0 0 0 30" Access="Public" Visible="False"/>
  11. <BoxContainer Orientation="Vertical" VerticalExpand="True">
  12. <Control VerticalExpand="True" HorizontalExpand="True" Margin="10 10 10 0">
  13. <PanelContainer Name="MainPanel" HorizontalExpand="False" VerticalExpand="True">
  14. <PanelContainer.PanelOverride>
  15. <graphics:StyleBoxFlat BackgroundColor="#202023" />
  16. </PanelContainer.PanelOverride>
  17. </PanelContainer>
  18. <ScrollContainer Name="ArticleListScrollbar" HorizontalExpand="True" VerticalExpand="True" HScrollEnabled="True">
  19. <BoxContainer Name="ArticlesContainer" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True" Margin="6 6 6 6">
  20. </BoxContainer>
  21. </ScrollContainer>
  22. </Control>
  23. <BoxContainer Orientation="Horizontal" HorizontalExpand="True" Margin="12 7 12 9">
  24. <BoxContainer Orientation="Horizontal">
  25. <Label Name="ArticleCount" Text="{Loc news-write-ui-article-count-0}"/>
  26. </BoxContainer>
  27. <Control HorizontalExpand="True"/>
  28. <Control>
  29. <Button Name="ButtonCreate" SetHeight="26" MinWidth="83" Text="{Loc news-write-ui-create-text}"/>
  30. </Control>
  31. </BoxContainer>
  32. <Control SetHeight="30" Margin="2 0 0 0">
  33. <PanelContainer Name="FooterPanel">
  34. <PanelContainer.PanelOverride>
  35. <graphics:StyleBoxFlat BorderColor="#5A5A5A" BorderThickness="0 2 0 0" />
  36. </PanelContainer.PanelOverride>
  37. </PanelContainer>
  38. <BoxContainer Name="ContentFooter" HorizontalExpand="True" SetHeight="28">
  39. <Label Text="{Loc news-write-ui-footer-text}" VerticalAlignment="Center" Margin="6 0" StyleClasses="PdaContentFooterText"/>
  40. </BoxContainer>
  41. </Control>
  42. </BoxContainer>
  43. </controls:FancyWindow>