This commit is contained in:
Insality
2024-11-02 17:16:09 +01:00
parent 0972c53c70
commit 60ef641276
2 changed files with 5 additions and 23 deletions

View File

@@ -1,10 +1,7 @@
local helper = require("druid.helper")
local component = require("druid.component")
---@alias druid.layout.mode
---| "horizontal" Elements are placed horizontally
---| "vertical" Elements are placed vertically
---| "horizontal_wrap" Elements are placed horizontally, but if the row width is greater than the parent width, the next row is created
---@alias druid.layout.mode "horizontal"|"vertical"|"horizontal_wrap"
---@class druid.layout.row_data
---@field width number