summaryrefslogtreecommitdiffstats
path: root/widget/src/lazy/responsive.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-02-15 02:57:52 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-15 02:57:52 +0100
commit84cc9f130b4e29219d47db42cdb76548b054c66b (patch)
tree5758716b7ca1a35e589969efd9537f5e56dd1e27 /widget/src/lazy/responsive.rs
parent5827023ccc3f80012b17dbfe778fbd8b63186c99 (diff)
parent777e2e34f50c440f59d9a407f75be80fbbfaccae (diff)
downloadiced-84cc9f130b4e29219d47db42cdb76548b054c66b.tar.gz
iced-84cc9f130b4e29219d47db42cdb76548b054c66b.tar.bz2
iced-84cc9f130b4e29219d47db42cdb76548b054c66b.zip
Merge pull request #2253 from iced-rs/improve-ergonomics
Improve some widget ergonomics
Diffstat (limited to 'widget/src/lazy/responsive.rs')
-rw-r--r--widget/src/lazy/responsive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/lazy/responsive.rs b/widget/src/lazy/responsive.rs
index 44312a21..313e1edb 100644
--- a/widget/src/lazy/responsive.rs
+++ b/widget/src/lazy/responsive.rs
@@ -50,7 +50,7 @@ where
content: RefCell::new(Content {
size: Size::ZERO,
layout: None,
- element: Element::new(horizontal_space(0)),
+ element: Element::new(horizontal_space().width(0)),
}),
}
}