Fix some more victims of the new default layout spacing.
This commit is contained in:
parent
e491dd2125
commit
ab42180e83
Notes:
sideshowbarker
2024-07-19 14:10:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ab42180e83c
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue