FontPickerDialog.gml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @GUI::Widget {
  2. fill_with_background_color: true
  3. layout: @GUI::VerticalBoxLayout {
  4. margins: [4, 4, 4, 4]
  5. }
  6. @GUI::Widget {
  7. layout: @GUI::HorizontalBoxLayout {
  8. }
  9. @GUI::Widget {
  10. layout: @GUI::VerticalBoxLayout {
  11. }
  12. @GUI::Label {
  13. text: "Family:"
  14. text_alignment: "CenterLeft"
  15. fixed_height: 16
  16. }
  17. @GUI::ListView {
  18. name: "family_list_view"
  19. }
  20. }
  21. @GUI::Widget {
  22. fixed_width: 100
  23. layout: @GUI::VerticalBoxLayout {
  24. }
  25. @GUI::Label {
  26. text: "Style:"
  27. text_alignment: "CenterLeft"
  28. fixed_height: 16
  29. }
  30. @GUI::ListView {
  31. name: "variant_list_view"
  32. }
  33. }
  34. @GUI::Widget {
  35. fixed_width: 80
  36. layout: @GUI::VerticalBoxLayout {
  37. }
  38. @GUI::Label {
  39. text: "Size:"
  40. text_alignment: "CenterLeft"
  41. fixed_height: 16
  42. }
  43. @GUI::SpinBox {
  44. name: "size_spin_box"
  45. }
  46. @GUI::ListView {
  47. name: "size_list_view"
  48. }
  49. }
  50. }
  51. @GUI::GroupBox {
  52. layout: @GUI::VerticalBoxLayout {
  53. }
  54. title: "Sample text"
  55. fixed_height: 80
  56. @GUI::Label {
  57. name: "sample_text_label"
  58. text: "The quick brown fox jumps over the lazy dog."
  59. }
  60. }
  61. @GUI::Widget {
  62. fixed_height: 22
  63. layout: @GUI::HorizontalBoxLayout {
  64. }
  65. @GUI::Widget {
  66. }
  67. @GUI::Button {
  68. name: "ok_button"
  69. text: "OK"
  70. fixed_width: 80
  71. }
  72. @GUI::Button {
  73. name: "cancel_button"
  74. text: "Cancel"
  75. fixed_width: 80
  76. }
  77. }
  78. }