LeafletGidBuilderImpl.foldThresholdPolicy

T foldThresholdPolicy(adw.types.FoldThresholdPolicy propval)

Set foldThresholdPolicy property.

Parameters

propvalDetermines when the leaflet will fold. If set to adw.types.FoldThresholdPolicy.Minimum, it 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.

Returns

Builder instance for fluent chaining

Deprecated