fix(widget/icon): default content_fit to fill

This commit is contained in:
Michael Aaron Murphy 2023-01-27 03:59:11 +01:00 committed by Michael Murphy
parent e4280dd381
commit bfc71514a8

View file

@ -180,7 +180,7 @@ pub struct Icon<'a> {
#[must_use]
pub fn icon<'a>(source: impl Into<IconSource<'a>>, size: u16) -> Icon<'a> {
Icon {
content_fit: ContentFit::ScaleDown,
content_fit: ContentFit::Fill,
height: None,
source: source.into(),
size,