Fixed rows before columns inconsistency.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user