Serialize layout data

This commit is contained in:
alonso.torres 2025-02-21 14:54:11 +01:00 committed by Alonso Torres
parent b4f6177be7
commit 80d5272248
17 changed files with 1006 additions and 375 deletions

View file

@ -142,3 +142,75 @@ Shadow styles are serialized as `u8`:
| 0 | Drop Shadow |
| 1 | Inner Shadow |
| \_ | Drop Shadow |
## Layout - Direction
| Value | Field |
| ----- | -------|
| 0 | Row |
| 1 | Column |
| \_ | error |
## Layout - Align Items
| Value | Field |
| ----- | --------|
| 0 | Start |
| 1 | End |
| 2 | Center |
| 3 | Stretch |
| \_ | error |
## Layout - Align Content
| Value | Field |
| ----- | ------------- |
| 0 | Start |
| 1 | End |
| 2 | Center |
| 3 | Space between |
| 4 | Space around |
| 5 | Space evenly |
| 6 | Stretch |
| \_ | error |
## Layout - Justify items
| Value | Field |
| ----- | --------|
| 0 | Start |
| 1 | End |
| 2 | Center |
| 3 | Stretch |
| \_ | error |
## Layout - Justify content
| Value | Field |
| ----- | ------------- |
| 0 | Start |
| 1 | End |
| 2 | Center |
| 3 | Space between |
| 4 | Space around |
| 5 | Space evenly |
| 6 | Stretch |
| \_ | error |
## Layout - Wrap type
| Value | Field |
| ----- | ------- |
| 0 | Wrap |
| 1 | No Wrap |
| \_ | error |
## Layout - Sizing
| Value | Field |
| ----- | ------|
| 0 | Fill |
| 1 | Fix |
| 2 | Auto |
| \_ | error |