fix search bar horizontal expansion

This commit is contained in:
yggverse 2024-12-19 19:06:47 +02:00
parent 4132d734f9
commit 3942e6556f
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,6 @@ impl Search {
// Init main container
let g_box = Box::builder()
.homogeneous(true)
.orientation(Orientation::Horizontal)
.valign(Align::Center)
.vexpand(false)

View File

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