diff --git a/src/app/browser/window/tab/item/page/search.rs b/src/app/browser/window/tab/item/page/search.rs index b99785ea..63292ef5 100644 --- a/src/app/browser/window/tab/item/page/search.rs +++ b/src/app/browser/window/tab/item/page/search.rs @@ -33,7 +33,6 @@ impl Search { // Init main container let g_box = Box::builder() - .homogeneous(true) .orientation(Orientation::Horizontal) .valign(Align::Center) .vexpand(false) diff --git a/src/app/browser/window/tab/item/page/search/close.rs b/src/app/browser/window/tab/item/page/search/close.rs index 1b30d239..17149443 100644 --- a/src/app/browser/window/tab/item/page/search/close.rs +++ b/src/app/browser/window/tab/item/page/search/close.rs @@ -5,6 +5,7 @@ const MARGIN: i32 = 6; pub fn new() -> Button { Button::builder() .halign(Align::End) + .hexpand(true) .icon_name("window-close-symbolic") .margin_end(MARGIN) .margin_start(MARGIN)