Remove default styling of Button
- A background will only show if explicitly set. - `iced_wgpu` won't apply a `min_width` of 100 units anymore.
This commit is contained in:
parent
6857829dc3
commit
2337029602
3 changed files with 32 additions and 22 deletions
|
|
@ -671,6 +671,7 @@ fn button<'a, Message>(
|
|||
)
|
||||
.padding(12)
|
||||
.border_radius(12)
|
||||
.min_width(100)
|
||||
}
|
||||
|
||||
fn primary_button<'a, Message>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue