diff --git a/src/widget/icon.rs b/src/widget/icon.rs index e0e8407e..814acd9f 100644 --- a/src/widget/icon.rs +++ b/src/widget/icon.rs @@ -180,7 +180,7 @@ pub struct Icon<'a> { #[must_use] pub fn icon<'a>(source: impl Into>, size: u16) -> Icon<'a> { Icon { - content_fit: ContentFit::ScaleDown, + content_fit: ContentFit::Fill, height: None, source: source.into(), size,