Improve space allocation for GROW containers

This commit is contained in:
Nic Barker 2024-10-07 18:56:13 +13:00
parent d826187b50
commit f579690f5d
10 changed files with 92 additions and 71 deletions

View file

@ -103,9 +103,9 @@ Clay_RenderCommandArray CreateLayout() {
}
}
CLAY_RECTANGLE(CLAY_ID("ScrollContainerInner"), CLAY_LAYOUT(.layoutDirection = CLAY_TOP_TO_BOTTOM), CLAY_RECTANGLE_CONFIG(.color = {160, 160, 160, 255})) {
// for (int i = 0; i < 100; i++) {
// RenderDropdownTextItem(i);
// }
for (int i = 0; i < 10; i++) {
RenderDropdownTextItem(i);
}
}
}
}