Align headerbar items

This commit is contained in:
Jeremy Soller 2024-01-31 10:03:39 -07:00
parent 199fabb9cd
commit 0697635ee2
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -323,6 +323,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
.align_x(iced::alignment::Horizontal::Right)
.width(Length::Shrink),
)
.align_items(iced::Alignment::Center)
.height(Length::Fixed(50.0))
.padding(8)
.spacing(8)