chore(examples): cosmic-time update

This commit is contained in:
Michael Aaron Murphy 2023-09-13 16:39:44 +02:00
parent 9fa39b1f35
commit 79113a4615
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
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)