mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:35:07 +00:00
VisualBuilder: Tweak grid size and add an (empty) toolbox window.
This commit is contained in:
parent
c6ffb3e2b8
commit
c71ece77fa
5 changed files with 30 additions and 7 deletions
|
@ -17,8 +17,11 @@ static GWidget* build_gwidget(WidgetType type, GWidget* parent)
|
|||
return new GButton(parent);
|
||||
case WidgetType::GSpinBox:
|
||||
return new GSpinBox(parent);
|
||||
case WidgetType::GTextEditor:
|
||||
return new GTextEditor(GTextEditor::Type::MultiLine, parent);
|
||||
case WidgetType::GTextEditor: {
|
||||
auto* editor = new GTextEditor(GTextEditor::Type::MultiLine, parent);
|
||||
editor->set_ruler_visible(false);
|
||||
return editor;
|
||||
}
|
||||
default:
|
||||
ASSERT_NOT_REACHED();
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue