1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:15:08 +00:00

VisualBuilder: Tweak grid size and add an (empty) toolbox window.

This commit is contained in:
Andreas Kling 2019-04-11 04:01:17 +02:00
parent c6ffb3e2b8
commit c71ece77fa
5 changed files with 30 additions and 7 deletions

View file

@ -11,15 +11,15 @@ VBForm::VBForm(const String& name, GWidget* parent)
set_greedy_for_hits(true);
auto box1 = VBWidget::create(WidgetType::GSpinBox, *this);
box1->set_rect({ 10, 10, 61, 21 });
box1->set_rect({ 10, 10, 81, 25 });
m_widgets.append(move(box1));
auto box2 = VBWidget::create(WidgetType::GTextEditor, *this);
box2->set_rect({ 100, 100, 161, 141 });
box2->set_rect({ 100, 100, 161, 161 });
m_widgets.append(move(box2));
auto button1 = VBWidget::create(WidgetType::GButton, *this);
button1->set_rect({ 200, 50, 101, 21 });
button1->set_rect({ 200, 50, 81, 25 });
m_widgets.append(move(button1));
}