summaryrefslogtreecommitdiffstats
path: root/examples/custom_widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-31 21:35:42 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-31 21:38:52 +0100
commit9ab7c47dc7d834ee73bc068f9f34eea4d6946436 (patch)
treeea52e51ffef12208a47fe29299c70095ad403957 /examples/custom_widget.rs
parent649d72e7de88e593255075957e65414ed1b4d0d6 (diff)
downloadiced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.tar.gz
iced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.tar.bz2
iced-9ab7c47dc7d834ee73bc068f9f34eea4d6946436.zip
Add `border_width` and `border_color` to `Quad`
Diffstat (limited to 'examples/custom_widget.rs')
-rw-r--r--examples/custom_widget.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/custom_widget.rs b/examples/custom_widget.rs
index ca562ead..1f51ee54 100644
--- a/examples/custom_widget.rs
+++ b/examples/custom_widget.rs
@@ -63,6 +63,8 @@ mod circle {
bounds: layout.bounds(),
background: Background::Color(Color::BLACK),
border_radius: self.radius,
+ border_width: 0,
+ border_color: Color::TRANSPARENT,
},
MouseCursor::OutOfBounds,
)