refactor: popups for nav bar / segmented buttons
This commit is contained in:
parent
f5fc392ba4
commit
cde1989e78
13 changed files with 544 additions and 57 deletions
|
|
@ -525,6 +525,7 @@ impl<'b, Message: Clone + 'static> Menu<'b, Message> {
|
|||
);
|
||||
let node_size = children_node.size();
|
||||
intrinsic_size.height += node_size.height;
|
||||
|
||||
intrinsic_size.width = intrinsic_size.width.max(node_size.width);
|
||||
|
||||
nodes.push(children_node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue