adapt to new iced style functions
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
This commit is contained in:
parent
3ae7c8bb6b
commit
ee34ecc130
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,7 @@
|
|||
mod ui;
|
||||
mod model;
|
||||
|
||||
use iced::widget::button;
|
||||
use ui::calendar;
|
||||
use model::{
|
||||
events::EventsCollection,
|
||||
|
@ -139,12 +140,12 @@ impl Controls {
|
|||
.push(
|
||||
Button::new(Text::new("<"))
|
||||
.on_press(self.get_msg_prev())
|
||||
.style(theme::Button::Secondary),
|
||||
.style(button::secondary),
|
||||
)
|
||||
.push(
|
||||
Button::new(Text::new(">"))
|
||||
.on_press(self.get_msg_next())
|
||||
.style(theme::Button::Secondary),
|
||||
.style(button::secondary),
|
||||
)
|
||||
.push(
|
||||
Text::new(description)
|
||||
|
|
Loading…
Reference in New Issue