summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-13 07:34:07 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-13 07:36:50 +0100
commit23370296024fc30b8721902955867c2fdab88832 (patch)
tree83097972fe18eb0d8f55d671315217f3eed0edec /examples
parent6857829dc3171fd68065498b6cd29f0ef02a8d43 (diff)
downloadiced-23370296024fc30b8721902955867c2fdab88832.tar.gz
iced-23370296024fc30b8721902955867c2fdab88832.tar.bz2
iced-23370296024fc30b8721902955867c2fdab88832.zip
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/tour.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tour.rs b/examples/tour.rs
index 3fd031b8..34ad0a34 100644
--- a/examples/tour.rs
+++ b/examples/tour.rs
@@ -671,6 +671,7 @@ fn button<'a, Message>(
)
.padding(12)
.border_radius(12)
+ .min_width(100)
}
fn primary_button<'a, Message>(