TerminalSettingsView.gml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. @GUI::Widget {
  2. fill_with_background_color: true
  3. layout: @GUI::VerticalBoxLayout {
  4. margins: [10]
  5. spacing: 5
  6. }
  7. @GUI::GroupBox {
  8. title: "Background Opacity"
  9. fixed_height: 70
  10. layout: @GUI::VerticalBoxLayout {
  11. margins: [16, 8, 8]
  12. spacing: 16
  13. }
  14. @GUI::OpacitySlider {
  15. name: "background_opacity_slider"
  16. min: 0
  17. max: 255
  18. orientation: "Horizontal"
  19. }
  20. }
  21. @GUI::GroupBox {
  22. title: "Terminal Font"
  23. fixed_height: 100
  24. layout: @GUI::VerticalBoxLayout {
  25. margins: [16, 8, 8]
  26. spacing: 16
  27. }
  28. @GUI::CheckBox {
  29. name: "terminal_font_defaulted"
  30. text: "Use system default"
  31. }
  32. @GUI::Widget {
  33. shrink_to_fit: true
  34. name: "terminal_font_selection"
  35. layout: @GUI::HorizontalBoxLayout {
  36. spacing: 6
  37. }
  38. @GUI::Frame {
  39. background_role: "Base"
  40. fill_with_background_color: true
  41. layout: @GUI::VerticalBoxLayout {}
  42. @GUI::Label {
  43. name: "terminal_font_label"
  44. }
  45. }
  46. @GUI::Button {
  47. text: "..."
  48. name: "terminal_font_button"
  49. fixed_width: 30
  50. }
  51. }
  52. }
  53. @GUI::GroupBox {
  54. title: "Color Scheme"
  55. fixed_height: 70
  56. layout: @GUI::VerticalBoxLayout {
  57. margins: [16, 8, 8]
  58. spacing: 16
  59. }
  60. @GUI::ComboBox {
  61. name: "color_scheme_combo"
  62. }
  63. }
  64. }