Add support for ContentFit for Image

This commit is contained in:
Emi Simpson 2022-01-22 20:09:35 -05:00 committed by Héctor Ramón Jiménez
parent adce9e0421
commit ca1fcdaf14
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 249 additions and 35 deletions

View file

@ -39,6 +39,7 @@ pub mod image {
pub use crate::runtime::image::Handle;
pub use crate::runtime::widget::image::viewer;
pub use crate::runtime::widget::image::{Image, Viewer};
pub use crate::runtime::ContentFit;
}
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]