Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Adjust retry on Burn Mode layout (#34680)

Danilo Leal8a7bd5f47b69
diff --git a/crates/agent_ui/src/agent_panel.rs b/crates/agent_ui/src/agent_panel.rs
index 139e32f8356..087eec5efb0 100644
--- a/crates/agent_ui/src/agent_panel.rs
+++ b/crates/agent_ui/src/agent_panel.rs
@@ -2981,6 +2981,8 @@ impl AgentPanel {
let retry_button = Button::new("retry", "Retry")
.icon(IconName::RotateCw)
.icon_position(IconPosition::Start)
+ .icon_size(IconSize::Small)
+ .label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {
@@ -3023,6 +3025,8 @@ impl AgentPanel {
let retry_button = Button::new("retry", "Retry")
.icon(IconName::RotateCw)
.icon_position(IconPosition::Start)
+ .icon_size(IconSize::Small)
+ .label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {
@@ -3046,6 +3050,8 @@ impl AgentPanel {
let burn_mode_button = Button::new("enable_burn_retry", "Enable Burn Mode and Retry")
.icon(IconName::ZedBurnMode)
.icon_position(IconPosition::Start)
+ .icon_size(IconSize::Small)
+ .label_size(LabelSize::Small)
.on_click({
let thread = thread.clone();
move |_, window, cx| {