From 02fbad18ce2d9266336b2e86f39c1f597033fcb3 Mon Sep 17 00:00:00 2001 From: Raphael Kieling Date: Thu, 12 Dec 2024 09:49:17 -0300 Subject: [PATCH] toolbar: Add gap between the Kernel and REPL button (#21871) Before: ![image](https://github.com/user-attachments/assets/dbc382a8-2ba5-4639-964f-35c934875e88) After: ![image](https://github.com/user-attachments/assets/5faf2144-63c3-41d4-b1b8-fcd6f6fd7b7e) Also works with dark themes: ![image](https://github.com/user-attachments/assets/1f3e9bfb-94f8-44f2-9727-e46fddccb153) Release Notes: - N/A Co-authored-by: raphael.kieling --- crates/zed/src/zed/quick_action_bar/repl_menu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/zed/src/zed/quick_action_bar/repl_menu.rs b/crates/zed/src/zed/quick_action_bar/repl_menu.rs index 5f616da9d3a37e7f610192fd669958f23d78679d..d27e416adb35386484f40f9eea7a09c0702974fe 100644 --- a/crates/zed/src/zed/quick_action_bar/repl_menu.rs +++ b/crates/zed/src/zed/quick_action_bar/repl_menu.rs @@ -353,6 +353,7 @@ impl QuickActionBar { let tooltip: SharedString = SharedString::from(format!("Setup Zed REPL for {}", language)); Some( h_flex() + .gap(DynamicSpacing::Base06.rems(cx)) .child(self.render_kernel_selector(cx)) .child( IconButton::new("toggle_repl_icon", IconName::ReplNeutral)