FontPickerDialog.gml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. @GUI::Widget {
  9. layout: @GUI::VerticalBoxLayout {}
  10. @GUI::Label {
  11. text: "Family:"
  12. text_alignment: "CenterLeft"
  13. fixed_height: 16
  14. }
  15. @GUI::ListView {
  16. name: "family_list_view"
  17. }
  18. }
  19. @GUI::Widget {
  20. fixed_width: 100
  21. layout: @GUI::VerticalBoxLayout {}
  22. @GUI::Label {
  23. text: "Style:"
  24. text_alignment: "CenterLeft"
  25. fixed_height: 16
  26. }
  27. @GUI::ListView {
  28. name: "variant_list_view"
  29. }
  30. }
  31. @GUI::Widget {
  32. fixed_width: 80
  33. layout: @GUI::VerticalBoxLayout {}
  34. @GUI::Label {
  35. text: "Size:"
  36. text_alignment: "CenterLeft"
  37. fixed_height: 16
  38. }
  39. @GUI::SpinBox {
  40. name: "size_spin_box"
  41. }
  42. @GUI::ListView {
  43. name: "size_list_view"
  44. }
  45. }
  46. }
  47. @GUI::GroupBox {
  48. layout: @GUI::VerticalBoxLayout {}
  49. title: "Sample text"
  50. fixed_height: 80
  51. @GUI::Label {
  52. name: "sample_text_label"
  53. text: "The quick brown fox jumps over the lazy dog."
  54. }
  55. }
  56. @GUI::Widget {
  57. fixed_height: 22
  58. layout: @GUI::HorizontalBoxLayout {}
  59. @GUI::Widget {}
  60. @GUI::DialogButton {
  61. name: "ok_button"
  62. text: "OK"
  63. }
  64. @GUI::DialogButton {
  65. name: "cancel_button"
  66. text: "Cancel"
  67. }
  68. }
  69. }