summaryrefslogtreecommitdiffstats
path: root/native/src/widget/combo_box.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-08 08:19:26 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-08 11:29:21 +0200
commit105c0fe4780233670191abe50ddc922a553ffd63 (patch)
tree944f5670279b7715f990a67d1f9641a85e0166a1 /native/src/widget/combo_box.rs
parentaa0ec2821ef9439adb52a2712da553404eb11b4d (diff)
downloadiced-105c0fe4780233670191abe50ddc922a553ffd63.tar.gz
iced-105c0fe4780233670191abe50ddc922a553ffd63.tar.bz2
iced-105c0fe4780233670191abe50ddc922a553ffd63.zip
Propagate `Font` from `ComboBox` to `Menu`
Diffstat (limited to 'native/src/widget/combo_box.rs')
-rw-r--r--native/src/widget/combo_box.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/widget/combo_box.rs b/native/src/widget/combo_box.rs
index 84789789..4d020c3b 100644
--- a/native/src/widget/combo_box.rs
+++ b/native/src/widget/combo_box.rs
@@ -225,6 +225,7 @@ where
Menu::new(&mut self.menu, &self.options, &self.on_selected)
.width(bounds.width.round() as u16)
.padding(self.padding)
+ .font(self.font)
.style(Renderer::menu_style(&self.style));
if let Some(text_size) = self.text_size {