ns-gridlayout-spec-strings
Installation
SKILL.md
GridLayout spec strings
<GridLayout rows="auto, *, 2*, 100" columns="auto * 48">
Separators are spaces and/or commas. The three unit types:
| Token | Meaning |
|---|---|
auto |
size to content (exactly lowercase — Auto throws Cannot parse item spec from string: Auto) |
*, 2*, 10* |
star weights (* = 1*) |
100 |
dip (device-independent pixels — multiplied by display density natively; not physical px) |
The silent web-unit trap
The parser tries parseInt on anything that isn't auto/*: