Button restyle

This commit is contained in:
2026-08-01 17:16:58 +03:00
parent d9bd1b1b86
commit 4d6de8a02c
12 changed files with 82 additions and 63 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ impl WordState {
}
let mut col = iced::widget::column![
button("Назад").on_press(WordMessage::Back),
button("Назад").style(jl_button).on_press(WordMessage::Back),
text!("Ключ"),
text_input("key", &self.word.key).on_input(WordMessage::SetKey),
text!("Значение"),
@@ -111,7 +111,7 @@ impl WordState {
column![
col.spacing(DEFAULT_SPACING).width(Fill).height(Fill),
row![
button("Сохранить").on_press(WordMessage::Save),
button("Сохранить").style(jl_button).on_press(WordMessage::Save),
button("Удалить")
.style(danger)
.on_press(WordMessage::Delete),