Update libcosmic/iced for advanced text rebase

This commit is contained in:
Ian Douglas Scott 2023-05-12 13:26:44 -07:00 committed by Michael Aaron Murphy
parent 33df250f35
commit b6336acbfb
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
6 changed files with 1114 additions and 815 deletions

View file

@ -55,10 +55,10 @@ pub fn settings() -> Section<crate::pages::Message> {
for image_path in chunk.iter() {
image_row.push(if image_path.ends_with(".svg") {
svg(svg::Handle::from_path(image_path))
.width(Length::Units(150))
.width(Length::Fixed(150.))
.into()
} else {
image(image_path).width(Length::Units(150)).into()
image(image_path).width(Length::Fixed(150.)).into()
});
}
image_column.push(row(image_row).spacing(16).into());
@ -69,7 +69,7 @@ pub fn settings() -> Section<crate::pages::Message> {
horizontal_space(Length::Fill),
container(
image("/usr/share/backgrounds/pop/kate-hazen-COSMIC-desktop-wallpaper.png")
.width(Length::Units(300))
.width(Length::Fixed(300.))
)
.padding(4)
.style(theme::Container::Background),