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