Fixed BlocksFragment categories row limit (#340)

This commit is contained in:
Sonnicon 2018-11-17 17:56:59 +00:00 committed by Anuken
parent cd0e49914b
commit 1251680a1c

View File

@ -128,7 +128,7 @@ public class BlocksFragment extends Fragment{
recipeTable.margin(4).top().left().marginRight(15); recipeTable.margin(4).top().left().marginRight(15);
//add a new row here when needed //add a new row here when needed
if(cati == secrows){ if(cati % secrows == 0){
catTable = new Table(); catTable = new Table();
selectTable.row(); selectTable.row();
selectTable.add(catTable).colspan(secrows).padTop(-5).growX(); selectTable.add(catTable).colspan(secrows).padTop(-5).growX();