fix: nav bar toggle padding

This commit is contained in:
Vukašin Vojinović 2024-08-17 13:53:12 +02:00 committed by Michael Murphy
parent c9f8f48537
commit 4b5111d2c2

View file

@ -42,6 +42,7 @@ impl<'a, Message: 'static + Clone> From<NavBarToggle<Message>> for Element<'a, M
};
widget::button::icon(icon)
.padding([8, 16])
.on_press_maybe(nav_bar_toggle.on_toggle)
.selected(nav_bar_toggle.selected)
.style(nav_bar_toggle.style)