use parent widget to render child.