fix!(widget): rename button function to button::custom
This commit is contained in:
parent
914d989049
commit
f12de010ec
15 changed files with 28 additions and 32 deletions
|
|
@ -143,7 +143,7 @@ fn date_button<Message>(
|
|||
button::Style::Text
|
||||
};
|
||||
|
||||
let button = button(
|
||||
let button = button::custom(
|
||||
text(format!("{}", date.day()))
|
||||
.horizontal_alignment(Horizontal::Center)
|
||||
.vertical_alignment(Vertical::Center),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue