Render arrow icon in ComboBox

This commit is contained in:
Héctor Ramón Jiménez 2020-04-18 19:53:27 +02:00
parent ada8d7c77f
commit e29feef8ba
7 changed files with 51 additions and 22 deletions

View file

@ -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),
);