fix(widget/header_bar): add padding between end elements and window controls
This commit is contained in:
parent
e3f3dc2e82
commit
a5d3814fff
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
|
|||
});
|
||||
|
||||
// Also packs the window controls at the very end.
|
||||
end.push(iced::widget::horizontal_space(Length::Fixed(12.0)).into());
|
||||
end.push(self.window_controls());
|
||||
packed.push(
|
||||
iced::widget::row(end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue