Skip to content

Commit

Permalink
Merge pull request #886 from Chiheisen/fix/pick_list_layouting
Browse files Browse the repository at this point in the history
pick_list: fix layouting not respecting fonts
  • Loading branch information
hecrj authored May 19, 2021
2 parents 40d21d2 + 59f3896 commit 3918257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/src/widget/pick_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ where
let (width, _) = renderer.measure(
&label,
text_size,
Renderer::Font::default(),
self.font,
Size::new(f32::INFINITY, f32::INFINITY),
);

Expand Down

0 comments on commit 3918257

Please sign in to comment.