Leaflet.foldThresholdPolicy

Get foldThresholdPolicy property.

More...
  1. adw.types.FoldThresholdPolicy foldThresholdPolicy [@property getter]
    class Leaflet
    @property
    foldThresholdPolicy
    ()
  2. adw.types.FoldThresholdPolicy foldThresholdPolicy [@property setter]

Return Value

Type: adw.types.FoldThresholdPolicy

Determines 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.

Detailed Description

Deprecated: See the migration guide