diff options
Diffstat (limited to 'web/src/widget/scrollable.rs')
-rw-r--r-- | web/src/widget/scrollable.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web/src/widget/scrollable.rs b/web/src/widget/scrollable.rs index 10f633de..ce0a10d4 100644 --- a/web/src/widget/scrollable.rs +++ b/web/src/widget/scrollable.rs @@ -42,11 +42,6 @@ impl<'a, Message> Scrollable<'a, Message> { } /// Sets the [`Padding`] of the [`Scrollable`]. - ///```ignore - /// Scrollable::new(/*...*/).padding(20); // 20px on all sides - /// Scrollable::new(/*...*/).padding([10, 20]); // top/bottom, left/right - /// Scrollable::new(/*...*/).padding([5, 10, 15, 20]); // top, right, bottom, left - /// ``` pub fn padding<P: Into<Padding>>(mut self, padding: P) -> Self { self.content = self.content.padding(padding); self |