More info about onMeasure().
Fix layouting of childs.