FilePickerDialog.gml 2.1 KB

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