mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 01:00:02 +00:00
fix search bar horizontal expansion
This commit is contained in:
parent
4132d734f9
commit
3942e6556f
@ -33,7 +33,6 @@ impl Search {
|
||||
|
||||
// Init main container
|
||||
let g_box = Box::builder()
|
||||
.homogeneous(true)
|
||||
.orientation(Orientation::Horizontal)
|
||||
.valign(Align::Center)
|
||||
.vexpand(false)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user