IncrementalSearchBanner.gml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. @GUI::Widget {
  2. fill_with_background_color: true
  3. visible: false
  4. layout: @GUI::HorizontalBoxLayout {
  5. margins: [4]
  6. }
  7. @GUI::TextBox {
  8. name: "incremental_search_banner_search_textbox"
  9. max_width: 250
  10. preferred_width: "grow"
  11. placeholder: "Find"
  12. }
  13. @GUI::Widget {
  14. preferred_width: "shrink"
  15. layout: @GUI::HorizontalBoxLayout {
  16. spacing: 0
  17. }
  18. @GUI::Button {
  19. name: "incremental_search_banner_previous_button"
  20. icon: "/res/icons/16x16/go-up.png"
  21. fixed_width: 18
  22. button_style: "Coolbar"
  23. focus_policy: "NoFocus"
  24. }
  25. @GUI::Button {
  26. name: "incremental_search_banner_next_button"
  27. icon: "/res/icons/16x16/go-down.png"
  28. fixed_width: 18
  29. button_style: "Coolbar"
  30. focus_policy: "NoFocus"
  31. }
  32. }
  33. @GUI::Label {
  34. name: "incremental_search_banner_index_label"
  35. text_alignment: "CenterLeft"
  36. }
  37. @GUI::Layout::Spacer {}
  38. @GUI::Widget {
  39. preferred_width: "shrink"
  40. layout: @GUI::HorizontalBoxLayout {
  41. spacing: 0
  42. }
  43. @GUI::Button {
  44. name: "incremental_search_banner_wrap_search_button"
  45. fixed_width: 24
  46. icon: "/res/icons/16x16/reload.png"
  47. tooltip: "Wrap Search"
  48. checkable: true
  49. checked: true
  50. button_style: "Coolbar"
  51. focus_policy: "NoFocus"
  52. }
  53. @GUI::Button {
  54. name: "incremental_search_banner_match_case_button"
  55. fixed_width: 24
  56. icon: "/res/icons/16x16/app-font-editor.png"
  57. tooltip: "Match Case"
  58. checkable: true
  59. button_style: "Coolbar"
  60. focus_policy: "NoFocus"
  61. }
  62. }
  63. @GUI::VerticalSeparator {}
  64. @GUI::Button {
  65. name: "incremental_search_banner_close_button"
  66. fixed_size: [15, 16]
  67. button_style: "Coolbar"
  68. focus_policy: "NoFocus"
  69. }
  70. }