is it possible to get parent/container size so that children's size can be adjusted accordingly?

Thanks