mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +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
|
// Init main container
|
||||||
let g_box = Box::builder()
|
let g_box = Box::builder()
|
||||||
.homogeneous(true)
|
|
||||||
.orientation(Orientation::Horizontal)
|
.orientation(Orientation::Horizontal)
|
||||||
.valign(Align::Center)
|
.valign(Align::Center)
|
||||||
.vexpand(false)
|
.vexpand(false)
|
||||||
|
@ -5,6 +5,7 @@ const MARGIN: i32 = 6;
|
|||||||
pub fn new() -> Button {
|
pub fn new() -> Button {
|
||||||
Button::builder()
|
Button::builder()
|
||||||
.halign(Align::End)
|
.halign(Align::End)
|
||||||
|
.hexpand(true)
|
||||||
.icon_name("window-close-symbolic")
|
.icon_name("window-close-symbolic")
|
||||||
.margin_end(MARGIN)
|
.margin_end(MARGIN)
|
||||||
.margin_start(MARGIN)
|
.margin_start(MARGIN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user