continuing testing

This commit is contained in:
Michael Freno
2025-11-15 00:01:45 -05:00
parent 0e19188a0b
commit f8fddb7ffa
8 changed files with 1293 additions and 12 deletions

View File

@@ -11,8 +11,9 @@ local Grid = {}
--- Layout grid items within a grid container using simple row/column counts
---@param element Element -- Grid container element
function Grid.layoutGridItems(element)
local rows = element.gridRows or 1
local columns = element.gridColumns or 1
-- Ensure valid row/column counts (must be at least 1 to avoid division by zero)
local rows = element.gridRows and element.gridRows > 0 and element.gridRows or 1
local columns = element.gridColumns and element.gridColumns > 0 and element.gridColumns or 1
-- Calculate space reserved by absolutely positioned siblings
local reservedLeft = 0