From 59f3896392f2c02844f0ed35046035ce7430872e Mon Sep 17 00:00:00 2001 From: chiheisen Date: Tue, 18 May 2021 12:37:23 +0200 Subject: [PATCH] fix pick_list layouting not respecting fonts --- native/src/widget/pick_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/widget/pick_list.rs b/native/src/widget/pick_list.rs index 046d5779..b17d93a3 100644 --- a/native/src/widget/pick_list.rs +++ b/native/src/widget/pick_list.rs @@ -163,7 +163,7 @@ where let (width, _) = renderer.measure( &label, text_size, - Renderer::Font::default(), + self.font, Size::new(f32::INFINITY, f32::INFINITY), );