From 25468fdcf7283c1e035f45c1f8704a86c44b51db Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 26 May 2021 20:36:30 +0200 Subject: [PATCH] Playground: Start out with a GUI::Frame on the right hand side This looks a lot nicer than starting with a plain GUI::Widget. --- Userland/DevTools/Playground/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/DevTools/Playground/main.cpp b/Userland/DevTools/Playground/main.cpp index 300233218b..fcaa94181c 100644 --- a/Userland/DevTools/Playground/main.cpp +++ b/Userland/DevTools/Playground/main.cpp @@ -97,7 +97,7 @@ int main(int argc, char** argv) auto& splitter = window->set_main_widget(); auto& editor = splitter.add(); - auto& preview = splitter.add(); + auto& preview = splitter.add(); editor.set_syntax_highlighter(make()); editor.set_autocomplete_provider(make()); @@ -120,7 +120,7 @@ int main(int argc, char** argv) }; if (String(path).is_empty()) { - editor.set_text(R"~~~(@GUI::Widget { + editor.set_text(R"~~~(@GUI::Frame { layout: @GUI::VerticalBoxLayout { }