From 0253ff304371a6737747a1183bcfcc6f69f5b5c9 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:52:02 +0200 Subject: [PATCH] Touch up rounding on the sides of mode switcher --- crates/search/src/project_search.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs index 4d86134a1f6762bdf4c9ce8d066b965e79f22e00..9550ca6e8954229fca289000c3cfc4ce61b24320 100644 --- a/crates/search/src/project_search.rs +++ b/crates/search/src/project_search.rs @@ -1395,6 +1395,7 @@ impl ProjectSearchBar { .style_for(state) .clone(); style.container.border.right = false; + Flex::row() .with_child( Label::new(icon, style.text.clone()) @@ -1410,7 +1411,7 @@ impl ProjectSearchBar { ) .contained() .constrained() - .with_max_width(theme.titlebar.avatar_ribbon.width / 2.) + .with_max_width(theme.titlebar.avatar_ribbon.width / 3.) .aligned() .bottom(), ) @@ -1494,7 +1495,7 @@ impl ProjectSearchBar { ) .contained() .constrained() - .with_max_width(theme.titlebar.avatar_ribbon.width / 2.) + .with_max_width(theme.titlebar.avatar_ribbon.width / 3.) .aligned() .bottom(), )