fix pick_list layouting not respecting fonts

This commit is contained in:
chiheisen 2021-05-18 12:37:23 +02:00
parent 40d21d2365
commit 59f3896392

View File

@ -163,7 +163,7 @@ where
let (width, _) = renderer.measure(
&label,
text_size,
Renderer::Font::default(),
self.font,
Size::new(f32::INFINITY, f32::INFINITY),
);