From e29feef8ba4f95f286039fcc1ca2e53bfe5019c5 Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector0193@gmail.com>
Date: Sat, 18 Apr 2020 19:53:27 +0200
Subject: Render arrow icon in `ComboBox`

---
 native/src/widget/combo_box.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'native')

diff --git a/native/src/widget/combo_box.rs b/native/src/widget/combo_box.rs
index 0b25b836..1b04a9a8 100644
--- a/native/src/widget/combo_box.rs
+++ b/native/src/widget/combo_box.rs
@@ -126,7 +126,9 @@ where
 
         let size = {
             let intrinsic = Size::new(
-                max_width as f32 + f32::from(text_size),
+                max_width as f32
+                    + f32::from(text_size)
+                    + f32::from(self.padding),
                 f32::from(text_size),
             );
 
-- 
cgit