FilePickerDialog.gml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @GUI::Widget {
  2. fill_with_background_color: true
  3. layout: @GUI::HorizontalBoxLayout {
  4. margins: [4]
  5. spacing: 3
  6. }
  7. @GUI::Widget {
  8. shrink_to_fit: true
  9. layout: @GUI::VerticalBoxLayout {
  10. margins: [0, 4]
  11. }
  12. @GUI::Label {
  13. text: "Look in:"
  14. text_alignment: "CenterRight"
  15. fixed_height: 24
  16. }
  17. @GUI::Tray {
  18. name: "common_locations_tray"
  19. fixed_width: 95
  20. }
  21. @GUI::Label {
  22. text: "Filename:"
  23. text_alignment: "CenterRight"
  24. fixed_height: 24
  25. }
  26. @GUI::Widget {
  27. fixed_height: 20
  28. }
  29. }
  30. @GUI::Widget {
  31. layout: @GUI::VerticalBoxLayout {}
  32. @GUI::Widget {
  33. shrink_to_fit: true
  34. layout: @GUI::HorizontalBoxLayout {}
  35. @GUI::TextBox {
  36. name: "location_textbox"
  37. }
  38. @GUI::Toolbar {
  39. name: "toolbar"
  40. }
  41. }
  42. @GUI::MultiView {
  43. name: "view"
  44. }
  45. @GUI::Widget {
  46. shrink_to_fit: true
  47. layout: @GUI::VerticalBoxLayout {}
  48. @GUI::Widget {
  49. fixed_height: 22
  50. layout: @GUI::HorizontalBoxLayout {}
  51. @GUI::TextBox {
  52. name: "filename_textbox"
  53. }
  54. @GUI::Widget {
  55. fixed_width: 20
  56. }
  57. @GUI::Button {
  58. name: "ok_button"
  59. text: "OK"
  60. fixed_width: 75
  61. }
  62. }
  63. @GUI::Widget {
  64. fixed_height: 22
  65. layout: @GUI::HorizontalBoxLayout {}
  66. @GUI::Widget {}
  67. @GUI::Button {
  68. name: "cancel_button"
  69. text: "Cancel"
  70. fixed_width: 75
  71. }
  72. }
  73. }
  74. }
  75. }