diff options
-rw-r--r-- | Applications/Browser/main.cpp | 2 | ||||
-rw-r--r-- | Applications/Help/main.cpp | 3 | ||||
-rw-r--r-- | Applications/HexEditor/HexEditorWidget.cpp | 2 | ||||
-rw-r--r-- | Applications/QuickShow/main.cpp | 4 | ||||
-rw-r--r-- | DevTools/HackStudio/main.cpp | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/Applications/Browser/main.cpp b/Applications/Browser/main.cpp index 0bf63bb9b4..f46dfca84c 100644 --- a/Applications/Browser/main.cpp +++ b/Applications/Browser/main.cpp @@ -101,7 +101,7 @@ int main(int argc, char** argv) auto& widget = window->set_main_widget<GUI::Widget>(); widget.set_fill_with_background_color(true); widget.set_layout<GUI::VerticalBoxLayout>(); - widget.layout()->set_spacing(0); + widget.layout()->set_spacing(2); bool bookmarksbar_enabled = true; diff --git a/Applications/Help/main.cpp b/Applications/Help/main.cpp index 44364cb37d..75cf67d95f 100644 --- a/Applications/Help/main.cpp +++ b/Applications/Help/main.cpp @@ -82,7 +82,8 @@ int main(int argc, char* argv[]) auto& widget = window->set_main_widget<GUI::Widget>(); widget.set_layout<GUI::VerticalBoxLayout>(); - widget.layout()->set_spacing(0); + widget.set_fill_with_background_color(true); + widget.layout()->set_spacing(2); auto& toolbar_container = widget.add<GUI::ToolBarContainer>(); auto& toolbar = toolbar_container.add<GUI::ToolBar>(); diff --git a/Applications/HexEditor/HexEditorWidget.cpp b/Applications/HexEditor/HexEditorWidget.cpp index 43d80dae0a..7b16c2364c 100644 --- a/Applications/HexEditor/HexEditorWidget.cpp +++ b/Applications/HexEditor/HexEditorWidget.cpp @@ -48,7 +48,7 @@ HexEditorWidget::HexEditorWidget() { set_layout<GUI::VerticalBoxLayout>(); - layout()->set_spacing(0); + layout()->set_spacing(2); m_editor = add<HexEditor>(); diff --git a/Applications/QuickShow/main.cpp b/Applications/QuickShow/main.cpp index dd234ee14e..f57eebc6c6 100644 --- a/Applications/QuickShow/main.cpp +++ b/Applications/QuickShow/main.cpp @@ -41,6 +41,7 @@ #include <LibGUI/ToolBarContainer.h> #include <LibGUI/Window.h> #include <LibGfx/Bitmap.h> +#include <LibGfx/Palette.h> #include <stdio.h> #include <string.h> @@ -69,8 +70,9 @@ int main(int argc, char** argv) window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-image.png")); auto& root_widget = window->set_main_widget<GUI::Widget>(); + root_widget.set_fill_with_background_color(true); root_widget.set_layout<GUI::VerticalBoxLayout>(); - root_widget.layout()->set_spacing(0); + root_widget.layout()->set_spacing(2); auto& toolbar_container = root_widget.add<GUI::ToolBarContainer>(); auto& main_toolbar = toolbar_container.add<GUI::ToolBar>(); diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index b22bf4f90d..048db6cd26 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -150,7 +150,7 @@ int main(int argc, char** argv) widget.set_fill_with_background_color(true); widget.set_layout<GUI::VerticalBoxLayout>(); - widget.layout()->set_spacing(0); + widget.layout()->set_spacing(2); StringBuilder path; path.append(getenv("PATH")); |