summaryrefslogtreecommitdiff
path: root/Userland/guitest2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/guitest2.cpp')
-rw-r--r--Userland/guitest2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/guitest2.cpp b/Userland/guitest2.cpp
index 541266cfec..6d23d8bb97 100644
--- a/Userland/guitest2.cpp
+++ b/Userland/guitest2.cpp
@@ -14,6 +14,7 @@
#include <LibGUI/GButton.h>
#include <LibGUI/GEventLoop.h>
#include <LibGUI/GTextBox.h>
+#include <LibGUI/GCheckBox.h>
static GWindow* make_font_test_window();
static GWindow* make_launcher_window();
@@ -117,6 +118,10 @@ GWindow* make_launcher_window()
auto* other_textbox = new GTextBox(widget);
other_textbox->set_relative_rect({ 5, 140, 90, 20 });
+ auto* checkbox = new GCheckBox(widget);
+ checkbox->set_relative_rect({ 5, 170, 90, 20 });
+ checkbox->set_caption("CheckBox");
+
window->set_focused_widget(textbox);
return window;