summaryrefslogtreecommitdiffstats
path: root/web/src/widget/image.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 01:37:57 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 01:37:57 +0100
commita4e833e860c41796d491ab43e84239fcca1f303d (patch)
treec41ab304ffaf2dc2311c7d33916cd0515114ad31 /web/src/widget/image.rs
parent2ff0e48142c302cb93130164d083589bb2ac4979 (diff)
parentcc529a1803972604b122c19c0104e71532fff993 (diff)
downloadiced-a4e833e860c41796d491ab43e84239fcca1f303d.tar.gz
iced-a4e833e860c41796d491ab43e84239fcca1f303d.tar.bz2
iced-a4e833e860c41796d491ab43e84239fcca1f303d.zip
Merge branch 'master' into feature/shrink-by-default
Diffstat (limited to 'web/src/widget/image.rs')
-rw-r--r--web/src/widget/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/widget/image.rs b/web/src/widget/image.rs
index ed8b7ecf..413b663e 100644
--- a/web/src/widget/image.rs
+++ b/web/src/widget/image.rs
@@ -67,7 +67,7 @@ impl<Message> Widget<Message> for Image {
match self.width {
Length::Shrink => {}
- Length::Fill => {
+ Length::Fill | Length::FillPortion(_) => {
image = image.attr("width", "100%");
}
Length::Units(px) => {