{ "name": "main", "fill_with_background_color": true, "layout": { "class": "GUI::VerticalBoxLayout", "spacing": 2 }, "children": [ { "class": "GUI::ToolBarContainer", "children": [ { "class": "GUI::ToolBar", "name": "toolbar" } ] }, { "class": "GUI::HorizontalSplitter", "children": [ { "class": "GUI::TextEditor", "name": "editor" }, { "class": "Web::OutOfProcessWebView", "name": "webview", "visible": false } ] }, { "class": "GUI::Widget", "name": "find_replace_widget", "visible": false, "fill_with_background_color": true, "horizontal_size_policy": "Fill", "vertical_size_policy": "Fixed", "preferred_height": 48, "layout": { "class": "GUI::VerticalBoxLayout", "margins": [ 2, 2, 2, 4 ] }, "children": [ { "class": "GUI::Widget", "name": "find_widget", "fill_with_background_color": true, "horizontal_size_policy": "Fill", "vertical_size_policy": "Fixed", "preferred_height": 22, "layout": { "class": "GUI::HorizontalBoxLayout" }, "children": [ { "class": "GUI::Button", "name": "find_previous_button", "text": "Find previous", "horizontal_size_policy": "Fixed", "vertical_size_policy": "Fill", "preferred_width": 150 }, { "class": "GUI::Button", "name": "find_next_button", "text": "Find next", "horizontal_size_policy": "Fixed", "vertical_size_policy": "Fill", "preferred_width": 150 } ] }, { "class": "GUI::Widget", "name": "replace_widget", "fill_with_background_color": true, "horizontal_size_policy": "Fill", "vertical_size_policy": "Fixed", "preferred_height": 22, "layout": { "class": "GUI::HorizontalBoxLayout" }, "children": [ { "class": "GUI::Button", "name": "replace_previous_button", "text": "Replace previous", "horizontal_size_policy": "Fixed", "vertical_size_policy": "Fill", "preferred_width": 100 }, { "class": "GUI::Button", "name": "replace_next_button", "text": "Replace next", "horizontal_size_policy": "Fixed", "vertical_size_policy": "Fill", "preferred_width": 100 }, { "class": "GUI::Button", "name": "replace_all_button", "text": "Replace all", "horizontal_size_policy": "Fixed", "vertical_size_policy": "Fill", "preferred_width": 100 } ] } ] }, { "class": "GUI::StatusBar", "name": "statusbar" } ] }