Align search bar in the middle

This commit is contained in:
Piotr Osiewicz 2023-08-04 15:38:53 +02:00
parent fcefb37ca0
commit 2c0e3886a5

View file

@ -1950,8 +1950,9 @@ impl View for ProjectSearchBar {
.contained() .contained()
.with_style(theme.search.container) .with_style(theme.search.container)
.aligned() .aligned()
.left()
.top() .top()
.flex(2., true), .flex(1., true),
) )
.with_child( .with_child(
Flex::column() Flex::column()