More design adjustments
This commit is contained in:
parent
b9b2153230
commit
7d2f631c5d
2 changed files with 6 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ password-manager = Password manager
|
||||||
paste-primary = Paste primary
|
paste-primary = Paste primary
|
||||||
replace = Replace
|
replace = Replace
|
||||||
reset-to-default = Reset to default
|
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-clipboard = Clipboard
|
||||||
shortcut-group-other = Other
|
shortcut-group-other = Other
|
||||||
shortcut-group-tabs = Tabs
|
shortcut-group-tabs = Tabs
|
||||||
|
|
|
||||||
|
|
@ -1062,10 +1062,11 @@ impl App {
|
||||||
if self.shortcut_capture == Some(action) {
|
if self.shortcut_capture == Some(action) {
|
||||||
list = list.list_item_padding(pad_binding);
|
list = list.list_item_padding(pad_binding);
|
||||||
list = list.add(
|
list = list.add(
|
||||||
widget::row::with_children(vec![
|
widget::settings::item_row(vec![
|
||||||
widget::text::body(fl!("shortcut-capture-hint")).into(),
|
widget::text::body(fl!("shortcut-capture-hint"))
|
||||||
widget::horizontal_space().into(),
|
.width(Length::Fill)
|
||||||
widget::button::standard(fl!("cancel"))
|
.into(),
|
||||||
|
widget::button::text(fl!("cancel"))
|
||||||
.on_press(Message::ShortcutCaptureCancel)
|
.on_press(Message::ShortcutCaptureCancel)
|
||||||
.into(),
|
.into(),
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue