From 3f87c3541f0685fba9c975f28b58439320a87b3b Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:40:38 +0100 Subject: [PATCH] Make the query editor expand in size less --- crates/search2/src/project_search.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/search2/src/project_search.rs b/crates/search2/src/project_search.rs index 1b2a502ab8..253730a692 100644 --- a/crates/search2/src/project_search.rs +++ b/crates/search2/src/project_search.rs @@ -1730,7 +1730,7 @@ impl Render for ProjectSearchBar { let search = search.read(cx); let query_column = v_stack() - .flex_1() + //.flex_1() .child( h_stack() .min_w_80() @@ -1868,7 +1868,7 @@ impl Render for ProjectSearchBar { .child(search.replacement_editor.clone()) } else { // Fill out the space if we don't have a replacement editor. - h_stack().size_full() + h_stack().flex_1() }; let actions_column = h_stack() .when(search.replace_enabled, |this| {