diff options
author | 2021-05-19 15:40:17 +0700 | |
---|---|---|
committer | 2021-05-19 15:40:17 +0700 | |
commit | 3918257883dba3cf260bd9764cb7b34101c435e6 (patch) | |
tree | 1a0984eeb40a901aa4d8610ec1264291d10c7402 /native | |
parent | 40d21d23659bdb9fc6a6166208adb351e188846b (diff) | |
parent | 59f3896392f2c02844f0ed35046035ce7430872e (diff) | |
download | iced-3918257883dba3cf260bd9764cb7b34101c435e6.tar.gz iced-3918257883dba3cf260bd9764cb7b34101c435e6.tar.bz2 iced-3918257883dba3cf260bd9764cb7b34101c435e6.zip |
Merge pull request #886 from Chiheisen/fix/pick_list_layouting
pick_list: fix layouting not respecting fonts
Diffstat (limited to 'native')
-rw-r--r-- | native/src/widget/pick_list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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), ); |