Button restyle
This commit is contained in:
+2
-2
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user