diff --git a/crates/assistant/src/inline_assistant.rs b/crates/assistant/src/inline_assistant.rs index 69d3349fa1..a76a015d47 100644 --- a/crates/assistant/src/inline_assistant.rs +++ b/crates/assistant/src/inline_assistant.rs @@ -45,7 +45,7 @@ use std::{ time::{Duration, Instant}, }; use theme::ThemeSettings; -use ui::{prelude::*, ContextMenu, PopoverMenu, Tooltip}; +use ui::{prelude::*, ContextMenu, IconButtonShape, PopoverMenu, Tooltip}; use util::RangeExt; use workspace::{notifications::NotificationId, Toast, Workspace}; @@ -1461,7 +1461,7 @@ impl Render for PromptEditor { }) .trigger( IconButton::new("context", IconName::Settings) - .size(ButtonSize::None) + .shape(IconButtonShape::Square) .icon_size(IconSize::Small) .icon_color(Color::Muted) .tooltip(move |cx| { @@ -1473,7 +1473,7 @@ impl Render for PromptEditor { .display_name() ), None, - "Click to Change Model", + "Change Model", cx, ) }), diff --git a/crates/assistant/src/terminal_inline_assistant.rs b/crates/assistant/src/terminal_inline_assistant.rs index 236b1214a7..4a2b06ab57 100644 --- a/crates/assistant/src/terminal_inline_assistant.rs +++ b/crates/assistant/src/terminal_inline_assistant.rs @@ -27,7 +27,7 @@ use std::{ use terminal::Terminal; use terminal_view::TerminalView; use theme::ThemeSettings; -use ui::{prelude::*, ContextMenu, PopoverMenu, Tooltip}; +use ui::{prelude::*, ContextMenu, IconButtonShape, PopoverMenu, Tooltip}; use util::ResultExt; use workspace::{notifications::NotificationId, Toast, Workspace}; @@ -588,7 +588,7 @@ impl Render for PromptEditor { }) .trigger( IconButton::new("context", IconName::Settings) - .size(ButtonSize::None) + .shape(IconButtonShape::Square) .icon_size(IconSize::Small) .icon_color(Color::Muted) .tooltip(move |cx| { @@ -600,7 +600,7 @@ impl Render for PromptEditor { .display_name() ), None, - "Click to Change Model", + "Change Model", cx, ) }),