chore(examples): cosmic-time update

This commit is contained in:
Michael Aaron Murphy 2023-09-13 16:39:44 +02:00 committed by Michael Murphy
parent 7f3013e509
commit ef23cb328f
3 changed files with 10 additions and 7 deletions

View file

@ -271,7 +271,7 @@ impl Window {
sub_page: impl SubPage,
) -> Element<Message> {
iced::widget::Button::new(
container(
list::container(
settings::item_row(vec![
icon::from_name(sub_page.icon_name()).size(20).icon().into(),
column!(
@ -285,8 +285,7 @@ impl Window {
])
.spacing(16),
)
.padding([20, 24])
.style(theme::Container::custom(list::column::style)),
.padding([20, 24]),
)
.padding(0)
.style(theme::iced::Button::Transparent)