diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-24 20:30:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-24 20:42:34 +0200 |
commit | dfe8dea2acaae9aecb43af7143f01cbce6554a33 (patch) | |
tree | 017f3eebfea336c47184032fefebdfd50bc7f4ea /Applications/Browser/main.cpp | |
parent | 1587b530016f73c37fb60c11c7323794967cb979 (diff) | |
download | serenity-dfe8dea2acaae9aecb43af7143f01cbce6554a33.zip |
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.
Diffstat (limited to 'Applications/Browser/main.cpp')
-rw-r--r-- | Applications/Browser/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |