RT-36166 sample. Add just enough buttons so that 2 rows are fully filled. Switch to the second tab and back. The first cell will have greater height, because the viewport breadth has been computed incorrectly. For some reason, lenght bar width has been subtracted from it in the first pass, but not in the second.