manually set the height to the shortest widget