Property

AdapFlap:fold-threshold-policy

deprecated: 1.4 since: 1

Declaration

property fold-threshold-policy: Adap.FoldThresholdPolicy [ read, write ]

Description [src]

Determines when the flap will fold.

If set to ADAP_FOLD_THRESHOLD_POLICY_MINIMUM, flap will only fold when the children cannot fit anymore. With ADAP_FOLD_THRESHOLD_POLICY_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.

Type: AdapFoldThresholdPolicy
Available since:1
Deprecated since:1.4

See the migration guide

Default valueADAP_FOLD_THRESHOLD_POLICY_MINIMUM
Getter methodadap_flap_get_fold_threshold_policy()
Setter methodadap_flap_set_fold_threshold_policy()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno