fix(applet): use text button style
This commit is contained in:
parent
314e45e8ab
commit
5454a01461
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ pub fn button_theme() -> Button {
|
|||
Button::Custom {
|
||||
active: Box::new(|active, t| widget::button::Appearance {
|
||||
border_radius: 0.0.into(),
|
||||
..t.active(active, &Button::Standard)
|
||||
..t.active(active, &Button::Text)
|
||||
}),
|
||||
hovered: Box::new(|hovered, t| widget::button::Appearance {
|
||||
border_radius: 0.0.into(),
|
||||
|
|
@ -40,7 +40,7 @@ pub fn button_theme() -> Button {
|
|||
}),
|
||||
disabled: Box::new(|t| widget::button::Appearance {
|
||||
border_radius: 0.0.into(),
|
||||
..t.disabled(&Button::Standard)
|
||||
..t.disabled(&Button::Text)
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue