Property

BisHugger:switch-threshold-policy

Declaration

property switch-threshold-policy: Bis.FoldThresholdPolicy [ read, write ]

Description [src]

The switch threshold policy.

Determines when the hugger will switch children.

If set to BIS_FOLD_THRESHOLD_POLICY_MINIMUM, it will only switch when the visible child cannot fit anymore. With BIS_FOLD_THRESHOLD_POLICY_NATURAL, it will switch as soon as the visible child doesn’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 switching.

Type: BisFoldThresholdPolicy
Available since:1.0

Flags

Readableyes
Writableyes
Constructno
Construct onlyno