diff options
author | 2022-01-22 20:09:35 -0500 | |
---|---|---|
committer | 2022-02-16 18:19:33 +0700 | |
commit | ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1 (patch) | |
tree | 56c062b664a5060bee6ca98a48fd018c16c2fa9c /src/widget.rs | |
parent | adce9e04213803bd775538efddf6e7908d1c605e (diff) | |
download | iced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.tar.gz iced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.tar.bz2 iced-ca1fcdaf1454fd3febae8e6864c9a7dec04f41b1.zip |
Add support for `ContentFit` for `Image`
Diffstat (limited to 'src/widget.rs')
-rw-r--r-- | src/widget.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget.rs b/src/widget.rs index c619bcfa..d27e4c72 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -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")))] |