1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:07:44 +00:00

Fix some more victims of the new default layout spacing.

This commit is contained in:
Andreas Kling 2019-05-11 03:06:18 +02:00
parent e491dd2125
commit ab42180e83
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ int main(int argc, char** argv)
auto* widget = new GWidget; auto* widget = new GWidget;
widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_spacing(0);
auto* toolbar = new GToolBar(widget); auto* toolbar = new GToolBar(widget);
auto* text_editor = new GTextEditor(GTextEditor::MultiLine, widget); auto* text_editor = new GTextEditor(GTextEditor::MultiLine, widget);

View file

@ -22,6 +22,7 @@ int main(int argc, char** argv)
auto* widget = new GWidget; auto* widget = new GWidget;
window->set_main_widget(widget); window->set_main_widget(widget);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical)); widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_spacing(0);
auto* container = new GWidget(widget); auto* container = new GWidget(widget);
container->set_fill_with_background_color(true); container->set_fill_with_background_color(true);