fix: nav bar toggle padding
This commit is contained in:
parent
c9f8f48537
commit
4b5111d2c2
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue