diff options
-rw-r--r-- | Applications/Browser/Tab.cpp | 3 | ||||
-rw-r--r-- | Applications/Browser/main.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Browser/Tab.cpp b/Applications/Browser/Tab.cpp index 4a7b464d29..74d56fb405 100644 --- a/Applications/Browser/Tab.cpp +++ b/Applications/Browser/Tab.cpp @@ -63,8 +63,7 @@ static const char* bookmarks_filename = "/home/anon/bookmarks.json"; Tab::Tab() { auto& widget = *this; - auto& layout = set_layout<GUI::VerticalBoxLayout>(); - layout.set_margins({ 1, 1, 1, 1 }); + set_layout<GUI::VerticalBoxLayout>(); bool bookmarksbar_enabled = true; diff --git a/Applications/Browser/main.cpp b/Applications/Browser/main.cpp index 4c8f1e1892..ed070eac7d 100644 --- a/Applications/Browser/main.cpp +++ b/Applications/Browser/main.cpp @@ -84,6 +84,7 @@ int main(int argc, char** argv) widget.layout()->set_spacing(2); auto& tab_widget = widget.add<GUI::TabWidget>(); + tab_widget.set_container_padding(0); tab_widget.on_change = [&](auto& active_widget) { auto& tab = static_cast<Browser::Tab&>(active_widget); |