I have a screen with some input fields an a grid view. I want the grid to have maximum of elements that the screen can fit. If the screen is full, I want to make the screen