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
Notes: sideshowbarker 2024-07-19 14:10:14 +09:00
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;
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_spacing(0);
auto* toolbar = new GToolBar(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;
window->set_main_widget(widget);
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
widget->layout()->set_spacing(0);
auto* container = new GWidget(widget);
container->set_fill_with_background_color(true);