fix(dropdown::multi::menu): option description off center by 8 pixels
This commit is contained in:
parent
6181d96f00
commit
50a94d590a
1 changed files with 3 additions and 2 deletions
|
|
@ -584,9 +584,10 @@ where
|
|||
|
||||
let bounds = Rectangle {
|
||||
x: bounds.x + self.padding.left,
|
||||
y: bounds.y + self.padding.top,
|
||||
// TODO: Figure out why it's offset by 8 pixels
|
||||
y: bounds.y + self.padding.top + 8.0,
|
||||
width: bounds.width,
|
||||
height: bounds.height,
|
||||
height: elem_height,
|
||||
};
|
||||
text::Renderer::fill_text(
|
||||
renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue