summaryrefslogtreecommitdiff
path: root/library/src/layout/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/stack.rs')
-rw-r--r--library/src/layout/stack.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/library/src/layout/stack.rs b/library/src/layout/stack.rs
index 111e3433..deb565b6 100644
--- a/library/src/layout/stack.rs
+++ b/library/src/layout/stack.rs
@@ -5,7 +5,16 @@ use crate::prelude::*;
/// Arrange content and spacing along an axis.
///
-/// Tags: layout.
+/// # Parameters
+/// - items: StackChild (positional, variadic)
+/// The items to stack along an axis.
+/// - dir: Dir (named)
+/// The direction along which the items are stacked.
+/// - spacing: Spacing (named)
+/// Spacing to insert between items where no explicit spacing was provided.
+///
+/// # Tags
+/// - layout
#[func]
#[capable(Layout)]
#[derive(Debug, Hash)]