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
+3 -3
View File
@@ -295,10 +295,10 @@ impl DictionaryState {
container(
row![
iced::widget::column![
button("Назад").on_press(Back),
button("Назад").style(jl_button).on_press(Back),
self.groups_panel(),
self.words_list(),
button("Добавить слово").on_press(DictionaryMessage::NewWord),
button("Добавить слово").style(jl_button).on_press(DictionaryMessage::NewWord),
]
.spacing(5),
self.filters()
@@ -415,7 +415,7 @@ impl DictionaryState {
toggler(self.reverse)
.label("Обратный тест")
.on_toggle(DictionaryMessage::SetReverse),
button(text!("Тест").center().width(Length::Fill))
button(text!("Тест").center().width(Length::Fill)).style(jl_button)
.on_press(Test)
.width(Length::Fill),
]