Fix layout of a TitleBar without controls
This commit is contained in:
parent
ad19c1628d
commit
2f02ca3248
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ where
|
|||
vec![title_layout, controls_layout],
|
||||
)
|
||||
} else {
|
||||
layout::Node::new(Size::new(title_width, title_height))
|
||||
layout::Node::new(Size::new(max_size.width, title_height))
|
||||
};
|
||||
|
||||
node.move_to(Point::new(padding, padding));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue