diff options
Diffstat (limited to 'library/src/layout/stack.rs')
| -rw-r--r-- | library/src/layout/stack.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/library/src/layout/stack.rs b/library/src/layout/stack.rs index 3287df3a..0fd0f235 100644 --- a/library/src/layout/stack.rs +++ b/library/src/layout/stack.rs @@ -24,7 +24,12 @@ use crate::prelude::*; /// The items to stack along an axis. /// /// - dir: Dir (named) -/// The direction along which the items are stacked. +/// The direction along which the items are stacked. Possible values are: +/// +/// - `{ltr}`: Left to right. +/// - `{rtl}`: Right to left. +/// - `{ttb}`: Top to bottom. +/// - `{btt}`: Bottom to top. /// /// - spacing: Spacing (named) /// Spacing to insert between items where no explicit spacing was provided. |
