More design adjustments

This commit is contained in:
Jeremy Soller 2026-02-05 13:36:38 -07:00
parent b9b2153230
commit 7d2f631c5d
2 changed files with 6 additions and 5 deletions

View file

@ -78,7 +78,7 @@ password-manager = Password manager
paste-primary = Paste primary
replace = Replace
reset-to-default = Reset to default
shortcut-capture-hint = Press new shortcut, or Esc to cancel
shortcut-capture-hint = Press the key combination
shortcut-group-clipboard = Clipboard
shortcut-group-other = Other
shortcut-group-tabs = Tabs

View file

@ -1062,10 +1062,11 @@ impl App {
if self.shortcut_capture == Some(action) {
list = list.list_item_padding(pad_binding);
list = list.add(
widget::row::with_children(vec![
widget::text::body(fl!("shortcut-capture-hint")).into(),
widget::horizontal_space().into(),
widget::button::standard(fl!("cancel"))
widget::settings::item_row(vec![
widget::text::body(fl!("shortcut-capture-hint"))
.width(Length::Fill)
.into(),
widget::button::text(fl!("cancel"))
.on_press(Message::ShortcutCaptureCancel)
.into(),
])