This commit is contained in:
DingusMcChicken 2025-10-23 08:56:05 +02:00 committed by GitHub
commit bc2e111601
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,7 +202,7 @@ CLAY(CLAY_ID("parent"), { .layout = { .padding = CLAY_PADDING_ALL(8) } }) {
// Child element 1
CLAY_TEXT(CLAY_STRING("Hello World"), CLAY_TEXT_CONFIG({ .fontSize = 16 }));
// Child element 2 with red background
CLAY((CLAY_ID("child"), { .backgroundColor = COLOR_RED }) {
CLAY(CLAY_ID("child"), { .backgroundColor = COLOR_RED }) {
// etc
}
}