fix(widget/icon): default content_fit to fill
This commit is contained in:
parent
e4280dd381
commit
bfc71514a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue