DatePickerDialog.gml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @GUI::Widget {
  2. shrink_to_fit: true
  3. fill_with_background_color: true
  4. layout: @GUI::VerticalBoxLayout {}
  5. @GUI::Widget {
  6. fixed_height: 20
  7. fill_with_background_color: true
  8. layout: @GUI::HorizontalBoxLayout {}
  9. @GUI::ComboBox {
  10. name: "month_box"
  11. model_only: true
  12. }
  13. @GUI::SpinBox {
  14. name: "year_box"
  15. fixed_size: [55, 20]
  16. min: 0
  17. max: 9999
  18. }
  19. @GUI::Layout::Spacer {}
  20. }
  21. @GUI::Widget {
  22. fixed_width: 200
  23. fixed_height: 200
  24. layout: @GUI::VerticalBoxLayout {}
  25. @GUI::Calendar {
  26. name: "calendar_view"
  27. }
  28. }
  29. @GUI::Widget {
  30. fixed_height: 20
  31. fill_with_background_color: true
  32. layout: @GUI::HorizontalBoxLayout {}
  33. @GUI::Layout::Spacer {}
  34. @GUI::Button {
  35. name: "cancel_button"
  36. text: "Cancel"
  37. fixed_size: [80, 20]
  38. }
  39. @GUI::Button {
  40. name: "ok_button"
  41. text: "OK"
  42. fixed_size: [80, 20]
  43. default: true
  44. }
  45. }
  46. }