Flap.setFoldThresholdPolicy

void setFoldThresholdPolicy(adw.types.FoldThresholdPolicy policy)

Sets the fold threshold policy for self.

If set to [adw.types.FoldThresholdPolicy.Minimum], flap will only fold when the children cannot fit anymore. With [adw.types.FoldThresholdPolicy.Natural], it will fold as soon as children don't get their natural size.

This can be useful if you have a long ellipsizing label and want to let it ellipsize instead of immediately folding.

Parameters

policythe policy to use

Deprecated