commit d37ae5dbf744b65b4ef4d0b09a102a4f39d38950
parent 2b84ee1f93f385ce07927e208557a5384af64dd6
Author: William Casarin <jb55@jb55.com>
Date: Thu, 19 Feb 2026 12:21:57 -0800
dave: increase Ask/Stop button min size for mobile touch targets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/crates/notedeck_dave/src/ui/dave.rs b/crates/notedeck_dave/src/ui/dave.rs
@@ -1060,11 +1060,14 @@ impl<'a> DaveUi<'a> {
// Show Stop button when working, Ask button otherwise
if self.flags.contains(DaveUiFlags::IsWorking) {
if ui
- .add(egui::Button::new(tr!(
- i18n,
- "Stop",
- "Button to interrupt/stop the AI operation"
- )))
+ .add(
+ egui::Button::new(tr!(
+ i18n,
+ "Stop",
+ "Button to interrupt/stop the AI operation"
+ ))
+ .min_size(egui::vec2(60.0, 44.0)),
+ )
.clicked()
{
dave_response = DaveResponse::new(DaveAction::Interrupt);
@@ -1078,11 +1081,14 @@ impl<'a> DaveUi<'a> {
);
}
} else if ui
- .add(egui::Button::new(tr!(
- i18n,
- "Ask",
- "Button to send message to Dave AI assistant"
- )))
+ .add(
+ egui::Button::new(tr!(
+ i18n,
+ "Ask",
+ "Button to send message to Dave AI assistant"
+ ))
+ .min_size(egui::vec2(60.0, 44.0)),
+ )
.clicked()
{
dave_response = DaveResponse::send();