Adjust grid settings.