summaryrefslogtreecommitdiff
path: root/Applications/TextEditor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/TextEditor/main.cpp')
-rw-r--r--Applications/TextEditor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp
index 580daa20d5..56026bff07 100644
--- a/Applications/TextEditor/main.cpp
+++ b/Applications/TextEditor/main.cpp
@@ -55,7 +55,7 @@ int main(int argc, char** argv)
auto window = GUI::Window::construct();
window->set_title("Text Editor");
- window->set_rect(20, 200, 640, 400);
+ window->resize(640, 400);
auto& text_widget = window->set_main_widget<TextEditorWidget>();