summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-04-25 08:52:10 -0700
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-04-25 08:52:10 -0700
commit83171f05d0111808ebafda309222e45062d3a0b0 (patch)
tree539c7e037e91339ae00375fb82ffa34bd977df32 /native
parentbba4cf323b711fe9a962c84d1a14875a0e394396 (diff)
downloadiced-83171f05d0111808ebafda309222e45062d3a0b0.tar.gz
iced-83171f05d0111808ebafda309222e45062d3a0b0.tar.bz2
iced-83171f05d0111808ebafda309222e45062d3a0b0.zip
Don't wrap picklist label text
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/pick_list.rs1
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,