Method

BisLapelset_fold_threshold_policy

[]

Declaration [src]

void
bis_lapel_set_fold_threshold_policy (
  BisLapel* self,
  BisFoldThresholdPolicy policy
)
[]

Description [src]

Sets the fold threshold policy for self.

If set to BIS_FOLD_THRESHOLD_POLICY_MINIMUM, lapel will only fold when the children cannot fit anymore. With BIS_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.

Available since:1.0
[]

Parameters

policy BisFoldThresholdPolicy
 

The policy to use.