summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar chiheisen <chiheisen@chiheisen.moe>2021-05-18 12:37:23 +0200
committerLibravatar chiheisen <chiheisen@chiheisen.moe>2021-05-18 12:37:23 +0200
commit59f3896392f2c02844f0ed35046035ce7430872e (patch)
tree1a0984eeb40a901aa4d8610ec1264291d10c7402 /native
parent40d21d23659bdb9fc6a6166208adb351e188846b (diff)
downloadiced-59f3896392f2c02844f0ed35046035ce7430872e.tar.gz
iced-59f3896392f2c02844f0ed35046035ce7430872e.tar.bz2
iced-59f3896392f2c02844f0ed35046035ce7430872e.zip
fix pick_list layouting not respecting fonts
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/pick_list.rs2
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),
);