parentHeightPreservation
Indicates how much the parent should preserve its height when calculating preferredSize. Use this to reduce the strength of rigidity in cases where you want the constraints to have more effect on the parent. For example:
parent.height eq max(chil1.height, child2.height)Content copied to clipboard
max relies on a Weak constraint to avoid getting too large, so the parent's height will remain larger if it uses anything greater to preserve itself.