diff options
Diffstat (limited to 'library/src/layout/columns.rs')
| -rw-r--r-- | library/src/layout/columns.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/library/src/layout/columns.rs b/library/src/layout/columns.rs index 6154cd14..e8ae5f35 100644 --- a/library/src/layout/columns.rs +++ b/library/src/layout/columns.rs @@ -1,17 +1,18 @@ use crate::prelude::*; use crate::text::TextNode; +/// # Columns /// Separate a region into multiple equally sized columns. /// -/// # Parameters +/// ## Parameters /// - count: usize (positional, required) /// The number of columns. /// /// - body: Content (positional, required) /// The content that should be layouted into the columns. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Layout)] #[derive(Debug, Hash)] @@ -112,15 +113,16 @@ impl Layout for ColumnsNode { } } +/// # Column Break /// A column break. /// -/// # Parameters +/// ## Parameters /// - weak: bool (named) /// If true, the column break is skipped if the current column is already /// empty. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Behave)] #[derive(Debug, Hash)] |
