fix: add size to named icon
This commit is contained in:
parent
fdfa667f38
commit
f812be8554
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ impl IconSource {
|
||||||
fn as_cosmic_icon(&self) -> cosmic::widget::icon::Icon {
|
fn as_cosmic_icon(&self) -> cosmic::widget::icon::Icon {
|
||||||
match self {
|
match self {
|
||||||
Self::Name(name) => cosmic::widget::icon::from_name(name.as_str())
|
Self::Name(name) => cosmic::widget::icon::from_name(name.as_str())
|
||||||
|
.size(128)
|
||||||
.fallback(Some(cosmic::widget::icon::IconFallback::Names(vec![
|
.fallback(Some(cosmic::widget::icon::IconFallback::Names(vec![
|
||||||
"application-default".into(),
|
"application-default".into(),
|
||||||
"application-x-executable".into(),
|
"application-x-executable".into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue