fix!(widget): rename button function to button::custom

This commit is contained in:
Michael Aaron Murphy 2024-09-16 19:11:29 +02:00 committed by Jeremy Soller
parent 914d989049
commit f12de010ec
15 changed files with 28 additions and 32 deletions

View file

@ -53,7 +53,7 @@ impl<'a, Message: 'static> SpinButton<'a, Message> {
.height(Length::Fixed(32.0))
.align_x(Horizontal::Center)
.align_y(Vertical::Center)
.apply(button)
.apply(button::custom)
.width(Length::Fixed(32.0))
.height(Length::Fixed(32.0))
.style(theme::Button::Text)
@ -73,7 +73,7 @@ impl<'a, Message: 'static> SpinButton<'a, Message> {
.height(Length::Fixed(32.0))
.align_x(Horizontal::Center)
.align_y(Vertical::Center)
.apply(button)
.apply(button::custom)
.width(Length::Fixed(32.0))
.height(Length::Fixed(32.0))
.style(theme::Button::Text)