Wire up styling to Button in iced_native
This commit is contained in:
parent
95acc1deb8
commit
3140cdc4ba
12 changed files with 55 additions and 96 deletions
|
|
@ -243,7 +243,7 @@ impl From<reqwest::Error> for Error {
|
|||
fn button<'a>(state: &'a mut button::State, text: &str) -> Button<'a, Message> {
|
||||
Button::new(state, Text::new(text))
|
||||
.padding(10)
|
||||
.style(style::Button::Primary)
|
||||
.style(&style::Button::Primary)
|
||||
}
|
||||
|
||||
mod style {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue