VoteCallMenu.xaml 1.9 KB

1234567891011121314151617181920212223242526272829303132
  1. <ui:VoteCallMenu xmlns="https://spacestation14.io"
  2. xmlns:ui="clr-namespace:Content.Client.Voting.UI"
  3. xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
  4. MouseFilter="Stop" MinSize="350 200">
  5. <PanelContainer StyleClasses="AngleRect" />
  6. <BoxContainer Orientation="Vertical">
  7. <BoxContainer Margin="8 0" Orientation="Horizontal">
  8. <Label Text="{Loc 'ui-vote-create-title'}"
  9. HorizontalExpand="True" VAlign="Center" StyleClasses="LabelHeading" />
  10. <TextureButton Name="CloseButton" StyleClasses="windowCloseButton"
  11. VerticalAlignment="Center" />
  12. </BoxContainer>
  13. <controls:HighDivider />
  14. <BoxContainer Orientation="Vertical" Margin="8 2 8 0" VerticalExpand="True" VerticalAlignment="Top">
  15. <BoxContainer Orientation="Vertical">
  16. <OptionButton Margin="2 1" Name="VoteTypeButton" HorizontalExpand="False" />
  17. <BoxContainer Name="VoteOptionsButtonContainer" HorizontalExpand="False" Orientation="Vertical">
  18. </BoxContainer>
  19. <Button Margin="64 4" Name="FollowButton" Text="{Loc 'ui-vote-follow-button'}" Visible="False" />
  20. <Label Margin="2 2" Name="VoteNotTrustedLabel" Text="{Loc 'ui-vote-trusted-users-notice'}" Visible="False" />
  21. <Label Margin="2 2" Name="VoteWarningLabel" Text="{Loc 'ui-vote-abuse-warning'}" Visible="False" HorizontalAlignment="Center"/>
  22. </BoxContainer>
  23. <Label Margin="8 2" Name="VoteTypeTimeoutLabel" Visible="False" />
  24. </BoxContainer>
  25. <Button Margin="8 32 8 2" Name="CreateButton" Text="{Loc 'ui-vote-create-button'}" />
  26. <PanelContainer StyleClasses="LowDivider" />
  27. <Label Margin="12 0 0 0" StyleClasses="LabelSubText" Text="{Loc 'ui-vote-fluff'}" />
  28. </BoxContainer>
  29. </ui:VoteCallMenu>