Merge pull request #886 from Chiheisen/fix/pick_list_layouting

pick_list: fix layouting not respecting fonts
This commit is contained in:
Héctor Ramón 2021-05-19 15:40:17 +07:00 committed by GitHub
commit 3918257883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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),
);