From 080bc5733baac8ada5ffb2621f1f3f2f9e2e99c8 Mon Sep 17 00:00:00 2001 From: GryphonClaw Date: Fri, 14 Mar 2025 16:56:29 -0700 Subject: [PATCH] Added documentation for some layout properties added documentation for: row_count row_max_index col_count col_max_index --- docs/api/layout.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/api/layout.md b/docs/api/layout.md index 96298715..d90cede0 100644 --- a/docs/api/layout.md +++ b/docs/api/layout.md @@ -114,3 +114,31 @@ Alias for `Grid.portrait?`. ## `landscape?` Alias for `Grid.landscape?`. + +## `row_count` + +Gives the number of rows in the Layout grid. +In landscape mode the value is set to `12` +In portrait mode the value is set to `24` + +!> This property is read-only. + +## `row_max_index` + +Returns the maximum row count index. + +!> This property is read-only + +## `col_count` + +Gives the number of columns in the Layout grid. +In landscape mode the value is set to `24` +In portrait mode the value is set to `12` + +!> This property is read-only + +## `col_max_index` + +Returns the maximum column count index. + +!> This property is read-only