I believe that GridView will expand to use all the space that it can take and then space your items out inside it. I think that you can specify a height for it or place it inside another container.
My guess is that you are expecting it to only need the space it needs to display the items it contains.