diff options
author | 2021-01-15 14:26:23 +0100 | |
---|---|---|
committer | 2021-01-15 14:26:23 +0100 | |
commit | 0646280d674e02fb11fcba0dc1c9b2d3d4d8a0fe (patch) | |
tree | 6581b7b3e890dc02ceb1ace25fcf13f6154dceee /native | |
parent | 049999b9827c6b863f2090b9c07129829e2084b5 (diff) | |
download | iced-0646280d674e02fb11fcba0dc1c9b2d3d4d8a0fe.tar.gz iced-0646280d674e02fb11fcba0dc1c9b2d3d4d8a0fe.tar.bz2 iced-0646280d674e02fb11fcba0dc1c9b2d3d4d8a0fe.zip |
Fix `Widget::width` implementation for `PickList`
Diffstat (limited to 'native')
-rw-r--r-- | native/src/widget/pick_list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/pick_list.rs b/native/src/widget/pick_list.rs index 58c0dfe1..4110b9bb 100644 --- a/native/src/widget/pick_list.rs +++ b/native/src/widget/pick_list.rs @@ -132,7 +132,7 @@ where Renderer: self::Renderer + scrollable::Renderer + 'a, { fn width(&self) -> Length { - Length::Shrink + self.width } fn height(&self) -> Length { |