summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Emi Simpson <emi@alchemi.dev>2022-01-22 20:09:35 -0500
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 18:19:33 +0700
commitca1fcdaf1454fd3febae8e6864c9a7dec04f41b1 (patch)
tree56c062b664a5060bee6ca98a48fd018c16c2fa9c /src/widget.rs
parentadce9e04213803bd775538efddf6e7908d1c605e (diff)
downloadiced-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.rs1
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")))]