Serenity Operating System
at master 111 lines 2.5 kB view raw
1@GUI::Widget { 2 name: "main" 3 fill_with_background_color: true 4 layout: @GUI::VerticalBoxLayout { 5 spacing: 2 6 } 7 8 @GUI::ToolbarContainer { 9 name: "toolbar_container" 10 11 @GUI::Toolbar { 12 name: "toolbar" 13 } 14 } 15 16 @GUI::HorizontalSplitter { 17 opportunistic_resizee: "First" 18 19 @GUI::TextEditor { 20 name: "editor" 21 } 22 23 @GUI::Widget { 24 name: "web_view_container" 25 visible: false 26 layout: @GUI::VerticalBoxLayout {} 27 } 28 } 29 30 @GUI::GroupBox { 31 name: "find_replace_widget" 32 visible: false 33 fill_with_background_color: true 34 fixed_height: 56 35 layout: @GUI::VerticalBoxLayout { 36 spacing: 2 37 margins: [3] 38 } 39 40 @GUI::Widget { 41 name: "find_widget" 42 fill_with_background_color: true 43 fixed_height: 22 44 layout: @GUI::HorizontalBoxLayout { 45 spacing: 4 46 } 47 48 @GUI::Button { 49 name: "find_previous_button" 50 fixed_width: 38 51 } 52 53 @GUI::Button { 54 name: "find_next_button" 55 fixed_width: 38 56 } 57 58 @GUI::TextBox { 59 name: "find_textbox" 60 } 61 62 @GUI::CheckBox { 63 name: "regex_checkbox" 64 text: "Use RegEx" 65 fixed_width: 80 66 } 67 68 @GUI::CheckBox { 69 name: "match_case_checkbox" 70 text: "Match case" 71 fixed_width: 85 72 } 73 } 74 75 @GUI::Widget { 76 name: "replace_widget" 77 fill_with_background_color: true 78 fixed_height: 22 79 layout: @GUI::HorizontalBoxLayout { 80 spacing: 4 81 } 82 83 @GUI::Button { 84 name: "replace_button" 85 text: "Replace" 86 fixed_width: 80 87 } 88 89 @GUI::TextBox { 90 name: "replace_textbox" 91 } 92 93 @GUI::Button { 94 name: "replace_all_button" 95 text: "Replace all" 96 fixed_width: 80 97 } 98 99 @GUI::CheckBox { 100 name: "wrap_around_checkbox" 101 text: "Wrap around" 102 fixed_width: 85 103 } 104 } 105 } 106 107 @GUI::Statusbar { 108 name: "statusbar" 109 segment_count: 3 110 } 111}