Fix bounds of PickList text label
This commit is contained in:
parent
f75b8bd9ec
commit
1400b5187d
1 changed files with 3 additions and 1 deletions
|
|
@ -706,7 +706,9 @@ pub fn draw<'a, T, Renderer>(
|
|||
x: bounds.x + padding.left,
|
||||
y: bounds.center_y(),
|
||||
width: bounds.width - padding.horizontal(),
|
||||
height: text_size * 1.2,
|
||||
height: f32::from(
|
||||
text_line_height.to_absolute(Pixels(text_size)),
|
||||
),
|
||||
},
|
||||
horizontal_alignment: alignment::Horizontal::Left,
|
||||
vertical_alignment: alignment::Vertical::Center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue