PaperWindow.xaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <paper:PaperWindow xmlns="https://spacestation14.io"
  2. xmlns:paper="clr-namespace:Content.Client.Paper.UI"
  3. MouseFilter="Stop" Resizable="True" MinSize="150 150"
  4. SetSize="510 660"> <!-- Provide some reasonable sizes by default. Can be changed by the component -->
  5. <BoxContainer Name="ContentsRoot" Orientation="Vertical">
  6. <PanelContainer StyleClasses="AngleRect" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="6">
  7. <TextureButton Name="CloseButton" StyleClasses="windowCloseButton"/>
  8. </PanelContainer>
  9. <PanelContainer Name="PaperBackground" StyleClasses="PaperDefaultBorder" VerticalExpand="True" HorizontalExpand="True">
  10. <ScrollContainer Name="ScrollingContents" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalExpand="True" VerticalExpand="True" HScrollEnabled="False">
  11. <PanelContainer Name="PaperContent" VerticalExpand="True" HorizontalExpand="True" MaxWidth="600">
  12. <BoxContainer Orientation="Vertical" VerticalAlignment="Stretch">
  13. <TextureButton Name="HeaderImage" HorizontalAlignment="Center" VerticalAlignment="Top" MouseFilter="Ignore"/>
  14. <Control Name="TextAlignmentPadding" VerticalAlignment="Top"/>
  15. <RichTextLabel Name="BlankPaperIndicator" StyleClasses="LabelSecondaryColor" VerticalAlignment="Top" HorizontalAlignment="Center"/>
  16. <RichTextLabel StyleClasses="PaperWrittenText" Name="WrittenTextLabel" VerticalAlignment="Top"/>
  17. <BoxContainer Name="InputContainer" Orientation="Vertical" VerticalExpand="True" VerticalAlignment="Stretch">
  18. <PanelContainer StyleClasses="TransparentBorderedWindowPanel" MinHeight="100"
  19. VerticalAlignment="Stretch" VerticalExpand="True" HorizontalExpand="True">
  20. <TextEdit Name="Input" StyleClasses="PaperLineEdit" Access="Public" />
  21. </PanelContainer>
  22. <Label Name="FillStatus" StyleClasses="LabelSecondaryColor"/>
  23. </BoxContainer>
  24. </BoxContainer>
  25. <paper:StampCollection Name="StampDisplay" VerticalAlignment="Bottom" Margin="6"/>
  26. </PanelContainer>
  27. </ScrollContainer>
  28. </PanelContainer>
  29. <!-- Bottom buttons for editing -->
  30. <BoxContainer Name="EditButtons" Orientation="Horizontal" HorizontalAlignment="Right" Margin="6">
  31. <Button Name="SaveButton" />
  32. </BoxContainer>
  33. </BoxContainer>
  34. </paper:PaperWindow>