diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-12 12:05:23 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-12 12:05:23 +0100 |
commit | dc28c07fa526841e05e16161c74a6c23984f1dd5 (patch) | |
tree | d68796bc7708eba33fbf7247e1a92188ac5acf6f /Userland/Applications/TextEditor/TextEditorWindow.gml | |
parent | aa939c4b4b8a7eb1d22b166ebb5fb737d6e66714 (diff) | |
download | serenity-dc28c07fa526841e05e16161c74a6c23984f1dd5.zip |
Applications: Move to Userland/Applications/
Diffstat (limited to 'Userland/Applications/TextEditor/TextEditorWindow.gml')
-rw-r--r-- | Userland/Applications/TextEditor/TextEditorWindow.gml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/Userland/Applications/TextEditor/TextEditorWindow.gml b/Userland/Applications/TextEditor/TextEditorWindow.gml new file mode 100644 index 0000000000..433d01abff --- /dev/null +++ b/Userland/Applications/TextEditor/TextEditorWindow.gml @@ -0,0 +1,88 @@ +@GUI::Widget { + name: "main" + fill_with_background_color: true + + layout: @GUI::VerticalBoxLayout { + spacing: 2 + } + + @GUI::ToolBarContainer { + @GUI::ToolBar { + name: "toolbar" + } + } + + @GUI::HorizontalSplitter { + @GUI::TextEditor { + name: "editor" + } + + @Web::OutOfProcessWebView { + name: "webview" + visible: false + } + } + + @GUI::Widget { + name: "find_replace_widget" + visible: false + fill_with_background_color: true + fixed_height: 48 + + layout: @GUI::VerticalBoxLayout { + margins: [2, 2, 2, 4] + } + + @GUI::Widget { + name: "find_widget" + fill_with_background_color: true + fixed_height: 22 + + layout: @GUI::HorizontalBoxLayout { + } + + @GUI::Button { + name: "find_previous_button" + text: "Find previous" + fixed_width: 150 + } + + @GUI::Button { + name: "find_next_button" + text: "Find next" + fixed_width: 150 + } + } + + @GUI::Widget { + name: "replace_widget" + fill_with_background_color: true + fixed_height: 22 + + layout: @GUI::HorizontalBoxLayout { + } + + @GUI::Button { + name: "replace_previous_button" + text: "Replace previous" + fixed_width: 100 + } + + @GUI::Button { + name: "replace_next_button" + text: "Replace next" + fixed_width: 100 + } + + @GUI::Button { + name: "replace_all_button" + text: "Replace all" + fixed_width: 100 + } + } + } + + @GUI::StatusBar { + name: "statusbar" + } +} |