From 7c242772108b5be6812443a021af37127686e52e Mon Sep 17 00:00:00 2001 From: Jonathan Li <30177086+MonliH@users.noreply.github.com> Date: Fri, 2 Oct 2020 21:53:40 -0400 Subject: Document better --- native/src/widget/row.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'native/src/widget/row.rs') diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs index 2b6db224..dd85a543 100644 --- a/native/src/widget/row.rs +++ b/native/src/widget/row.rs @@ -10,9 +10,10 @@ use std::u32; /// A container that distributes its contents horizontally. /// -/// A [`Row`] will try to fill the horizontal space of its container. +/// A [`Row`] will not fill the horizontal space of its container. (set to [`Length::shrink`] by defualt) /// /// [`Row`]: struct.Row.html +/// [`Length::shrink`]: ../../enum.Length.html #[allow(missing_debug_implementations)] pub struct Row<'a, Message, Renderer> { spacing: u16, -- cgit