fix(widget/header_bar): add padding between end elements and window controls

This commit is contained in:
Michael Aaron Murphy 2023-08-15 10:54:45 +02:00 committed by Michael Murphy
parent e3f3dc2e82
commit a5d3814fff

View file

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