diff options
author | 2022-04-25 08:52:10 -0700 | |
---|---|---|
committer | 2022-04-25 08:52:10 -0700 | |
commit | 83171f05d0111808ebafda309222e45062d3a0b0 (patch) | |
tree | 539c7e037e91339ae00375fb82ffa34bd977df32 | |
parent | bba4cf323b711fe9a962c84d1a14875a0e394396 (diff) | |
download | iced-83171f05d0111808ebafda309222e45062d3a0b0.tar.gz iced-83171f05d0111808ebafda309222e45062d3a0b0.tar.bz2 iced-83171f05d0111808ebafda309222e45062d3a0b0.zip |
Don't wrap picklist label text
-rw-r--r-- | native/src/widget/pick_list.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/widget/pick_list.rs b/native/src/widget/pick_list.rs index e050ada5..998b9b3c 100644 --- a/native/src/widget/pick_list.rs +++ b/native/src/widget/pick_list.rs @@ -412,6 +412,7 @@ pub fn draw<T, Renderer>( bounds: Rectangle { x: bounds.x + f32::from(padding.left), y: bounds.center_y(), + width: f32::INFINITY, ..bounds }, horizontal_alignment: alignment::Horizontal::Left, |