The leaflet will be folded if the size allocated to it is smaller than the sum of the minimum or natural sizes of the children (see property@Leaflet:fold-threshold-policy), it will be unfolded otherwise.
Leaflet.folded
bool folded() @propertyGet folded property.
Returns
Whether the leaflet is folded.