1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

VisualBuilder: Expose some more widget properties.

This commit is contained in:
Andreas Kling 2019-04-19 23:48:19 +02:00
parent 986f5806d7
commit 54af44e354
2 changed files with 10 additions and 2 deletions

View file

@ -36,6 +36,7 @@ static GWidget* build_gwidget(VBWidgetType type, GWidget* parent)
return new GGroupBox("groupbox_1", parent);
case VBWidgetType::GLabel: {
auto* label = new GLabel(parent);
label->set_fill_with_background_color(true);
label->set_text("label_1");
return label;
}