fix(dropdown::multi::menu): option description off center by 8 pixels

This commit is contained in:
Michael Aaron Murphy 2023-12-05 15:04:41 +01:00 committed by Michael Murphy
parent 6181d96f00
commit 50a94d590a

View file

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