1
0

NanoTaskItemControl.xaml 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <Control xmlns="https://spacestation14.io" xmlns:system="clr-namespace:System;assembly=System.Runtime">
  2. <BoxContainer Name="MainContainer"
  3. Orientation="Horizontal"
  4. SetWidth="250">
  5. <Button Name="MainButton"
  6. HorizontalExpand="True"
  7. VerticalExpand="True"
  8. StyleClasses="ButtonSquare"
  9. Margin="-1 0 0 0">
  10. <BoxContainer Orientation="Horizontal" HorizontalExpand="True">
  11. <BoxContainer Orientation="Vertical"
  12. VerticalExpand="True"
  13. HorizontalExpand="True"
  14. Margin="-5 0 0 0">
  15. <Label Name="TaskLabel"
  16. StyleClasses="LabelSubText" />
  17. <Label Name="TaskForLabel"
  18. StyleClasses="LabelSubText"
  19. Margin="0 -5 0 0" />
  20. </BoxContainer>
  21. </BoxContainer>
  22. </Button>
  23. <Button Name="DoneButton"
  24. VerticalExpand="True"
  25. Text="{Loc 'nano-task-ui-done'}">
  26. <Button.StyleClasses>
  27. <system:String>ButtonSmall</system:String>
  28. <system:String>OpenLeft</system:String>
  29. </Button.StyleClasses>
  30. </Button>
  31. </BoxContainer>
  32. </Control>