Truly independent web browser
UI/Qt: Drop the extra space around the location field
Andreas Kling9d114adcb49e
diff --git a/UI/Qt/Tab.cpp b/UI/Qt/Tab.cppindex 9c54746bd97..58a82896556 100644--- a/UI/Qt/Tab.cpp+++ b/UI/Qt/Tab.cpp@@ -258,7 +258,6 @@ static constexpr int WEB_VIEW_INSET = 6;#endifstatic constexpr int TOOLBAR_VERTICAL_MARGIN = 2;static constexpr int TOOLBAR_SIDEBAR_TOGGLE_NAVIGATION_GAP = 8;-static constexpr int TOOLBAR_LOCATION_EDIT_SIDE_GAP = 32;static constexpr int TOOLBAR_WINDOW_CONTROLS_RIGHT_MARGIN = 4;static constexpr int DOWNLOADS_POPOVER_WIDTH = 380;static constexpr int DOWNLOADS_POPOVER_MAX_HEIGHT = 360;@@ -781,7 +780,7 @@ Tab::Tab(BrowserWindow* window, Optional<WebView::CanonicalTraversable&> traverslocation_edit_container->setProperty(WINDOW_DRAG_REGION_PROPERTY, true);auto* location_edit_layout = new QHBoxLayout(location_edit_container);location_edit_layout->setSpacing(0);- location_edit_layout->setContentsMargins(TOOLBAR_LOCATION_EDIT_SIDE_GAP, 0, TOOLBAR_LOCATION_EDIT_SIDE_GAP, 0);+ location_edit_layout->setContentsMargins(0, 0, 0, 0);m_location_edit->set_trailing_action(create_application_action(*m_location_edit, view().toggle_bookmark_action()));m_location_edit->set_zoom_action(create_application_action(*m_location_edit, view().reset_zoom_action(), IncludeActionIcon::No));