FontPickerDialog.gml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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::Button {
  61. name: "ok_button"
  62. text: "OK"
  63. fixed_width: 80
  64. }
  65. @GUI::Button {
  66. name: "cancel_button"
  67. text: "Cancel"
  68. fixed_width: 80
  69. }
  70. }
  71. }