Changing grid constraint size has no effect if you're loading your inventory from persistent data because the grid size is stored and overrides your grid constraint setting (I think?). Which means you basically cant change your grid size after first setting it; if you are loading your inventory.