Child widgets checks their max_size against the parent and change it in case the parent max_size is smaller. fixes #659