fix(button): image button rendering fixes

This commit is contained in:
Michael Aaron Murphy 2023-11-11 01:10:05 +01:00 committed by Michael Murphy
parent 6c7a080209
commit 14614e4e03
4 changed files with 64 additions and 40 deletions

View file

@ -62,9 +62,9 @@ where
.width(builder.width)
.height(builder.height)
.apply(widget::button)
.padding(0)
.selected(builder.variant.selected)
.id(builder.id)
.padding(0)
.on_press_maybe(builder.on_press)
.style(builder.style)
.into()