mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix search bar horizontal expansion
This commit is contained in:
parent
4132d734f9
commit
3942e6556f
2 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue