summaryrefslogtreecommitdiffstats
path: root/native/src/widget/row.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@lich.io>2021-06-01 19:45:47 +0700
committerLibravatar Héctor Ramón <hector@lich.io>2021-06-01 19:45:47 +0700
commit8a3b71df8b619571ce0a972826cb5a3987b66b3d (patch)
tree3d1655b36aa8d7151c878e1879c03c8271a466a5 /native/src/widget/row.rs
parentb94cd7a2a83d81769d31f6379539089ce68cbdcd (diff)
downloadiced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.tar.gz
iced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.tar.bz2
iced-8a3b71df8b619571ce0a972826cb5a3987b66b3d.zip
Replace ignored doc-tests with additional documentation for `Padding`
Diffstat (limited to '')
-rw-r--r--native/src/widget/row.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs
index 9aa059c3..9ebc9145 100644
--- a/native/src/widget/row.rs
+++ b/native/src/widget/row.rs
@@ -56,11 +56,6 @@ impl<'a, Message, Renderer> Row<'a, Message, Renderer> {
}
/// Sets the [`Padding`] of the [`Row`].
- ///```ignore
- /// Row::new(/*...*/).padding(20); // 20px on all sides
- /// Row::new(/*...*/).padding([10, 20]); // top/bottom, left/right
- /// Row::new(/*...*/).padding([5, 10, 15, 20]); // top, right, bottom, left
- /// ```
pub fn padding<P: Into<Padding>>(mut self, padding: P) -> Self {
self.padding = padding.into();
self