Fixed rows before columns inconsistency.

This commit is contained in:
2021-09-10 10:20:14 -07:00
parent 896b98c9aa
commit 9b179778b9
3 changed files with 6 additions and 4 deletions

View File

@ -18,7 +18,7 @@ bool sandboxSceneInit(sandboxscene_t *game) {
framedTextMenuInit(&menu, &game->font, &game->texture);
gridAddBreakpoint(&menu.menu.menu.grid, -1, 3, 1, 0, 0);
gridAddBreakpoint(&menu.menu.menu.grid, -1, 2, 3, 0, 0);
gridchild_t *child = textMenuListAdd(&menu.menu, "First");
gridChildAddBreakpoint(child, 0,0, 1,1);
@ -26,6 +26,8 @@ bool sandboxSceneInit(sandboxscene_t *game) {
gridChildAddBreakpoint(child, 0,1, 1,1);
child = textMenuListAdd(&menu.menu, "Third");
gridChildAddBreakpoint(child, 0,2, 1,1);
child = textMenuListAdd(&menu.menu, "Fourth");
gridChildAddBreakpoint(child, 1,0, 1,1);
return true;
}