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

Browser: Set margins for BookmarkBarWidget

It's just what GUI::Toolbar is using. Changed this to make the bookmark
overflow button align with the bookmark button.
This commit is contained in:
Karol Kosek 2022-08-05 00:58:44 +02:00 committed by Andreas Kling
parent d80bc2ba32
commit 8f5968d4ad

View file

@ -102,6 +102,7 @@ BookmarksBarWidget::BookmarksBarWidget(String const& bookmarks_file, bool enable
s_the = this; s_the = this;
set_layout<GUI::HorizontalBoxLayout>(); set_layout<GUI::HorizontalBoxLayout>();
layout()->set_spacing(0); layout()->set_spacing(0);
layout()->set_margins(2);
set_fixed_height(20); set_fixed_height(20);