1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

Browser: Remove padding from the main TabWidget

This makes the active tab "take over" the whole window UI, even though
it's actually inside a TabWidget.
This commit is contained in:
Andreas Kling 2020-04-24 20:30:51 +02:00
parent 1587b53001
commit dfe8dea2ac
2 changed files with 2 additions and 2 deletions

View file

@ -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;