Menu: align tree items with menu roots in MenuBar::layout
This commit is contained in:
parent
3608675358
commit
fb4669591a
2 changed files with 8 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ pub fn resolve<'a, E, Message, Renderer>(
|
|||
spacing: f32,
|
||||
align_items: Alignment,
|
||||
items: &[E],
|
||||
tree: &mut [Tree],
|
||||
tree: &mut [&mut Tree],
|
||||
) -> Node
|
||||
where
|
||||
E: std::borrow::Borrow<Element<'a, Message, Renderer>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue