summaryrefslogtreecommitdiff
path: root/Applications/VisualBuilder/VBWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-11 13:46:25 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-11 13:46:25 +0200
commitf0501a0102efa3abbaefca06031443620215642e (patch)
tree3fb28537367493ff35e07e6e8bcf17eab33beaaf /Applications/VisualBuilder/VBWidget.cpp
parent16990fece3d632d1133f3578e3642adb48cb94e6 (diff)
downloadserenity-f0501a0102efa3abbaefca06031443620215642e.zip
VisualBuilder: Add GGroupBox.
The icon currently looks better than a real GGroupBox. I have to fix that.
Diffstat (limited to 'Applications/VisualBuilder/VBWidget.cpp')
-rw-r--r--Applications/VisualBuilder/VBWidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Applications/VisualBuilder/VBWidget.cpp b/Applications/VisualBuilder/VBWidget.cpp
index 2e9cc0c332..68e47b6c9f 100644
--- a/Applications/VisualBuilder/VBWidget.cpp
+++ b/Applications/VisualBuilder/VBWidget.cpp
@@ -8,6 +8,7 @@
#include <LibGUI/GProgressBar.h>
#include <LibGUI/GCheckBox.h>
#include <LibGUI/GScrollBar.h>
+#include <LibGUI/GGroupBox.h>
static GWidget* build_gwidget(WidgetType type, GWidget* parent)
{
@@ -16,6 +17,8 @@ static GWidget* build_gwidget(WidgetType type, GWidget* parent)
return new GWidget(parent);
case WidgetType::GScrollBar:
return new GScrollBar(Orientation::Vertical, parent);
+ case WidgetType::GGroupBox:
+ return new GGroupBox("groupbox_1", parent);
case WidgetType::GLabel: {
auto* label = new GLabel(parent);
label->set_text("label_1");