Label.lines

int lines() @property

Get lines property.

Returns

The number of lines to which an ellipsized, wrapping label

should be limited. This property has no effect if the label is not wrapping or ellipsized. Set this property to -1 if you don't want to limit the number of lines.

void lines(int propval) @property

Set lines property.

Parameters

propvalThe number of lines to which an ellipsized, wrapping label should be limited. This property has no effect if the label is not wrapping or ellipsized. Set this property to -1 if you don't want to limit the number of lines.