Widget should use std::liat for children.