relayout should be implemented when grid is in a container like titlepane when clientHeight is 0