improv(headerbar): pack with 8 spacing

This commit is contained in:
Michael Aaron Murphy 2023-01-25 06:00:16 +01:00 committed by Michael Murphy
parent 8fc3d4f0c1
commit 332f10add7

View file

@ -74,6 +74,7 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
let mut widget = widget::row(packed)
.height(Length::Units(50))
.padding(8)
.spacing(8)
.apply(widget::container)
.center_y()
.apply(widget::mouse_listener);