basic r&d with onMeasure.