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 ui;
|
||||||
mod model;
|
mod model;
|
||||||
|
|
||||||
|
use iced::widget::button;
|
||||||
use ui::calendar;
|
use ui::calendar;
|
||||||
use model::{
|
use model::{
|
||||||
events::EventsCollection,
|
events::EventsCollection,
|
||||||
|
@ -139,12 +140,12 @@ impl Controls {
|
||||||
.push(
|
.push(
|
||||||
Button::new(Text::new("<"))
|
Button::new(Text::new("<"))
|
||||||
.on_press(self.get_msg_prev())
|
.on_press(self.get_msg_prev())
|
||||||
.style(theme::Button::Secondary),
|
.style(button::secondary),
|
||||||
)
|
)
|
||||||
.push(
|
.push(
|
||||||
Button::new(Text::new(">"))
|
Button::new(Text::new(">"))
|
||||||
.on_press(self.get_msg_next())
|
.on_press(self.get_msg_next())
|
||||||
.style(theme::Button::Secondary),
|
.style(button::secondary),
|
||||||
)
|
)
|
||||||
.push(
|
.push(
|
||||||
Text::new(description)
|
Text::new(description)
|
||||||
|
|
Loading…
Reference in New Issue