set_lines


Description:

[ Version ( since = "3.10" ) ]
public void set_lines (int lines)

Sets the number of lines to which an ellipsized, wrapping label should be limited.

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

Parameters:

this

a Label

lines

the desired number of lines, or -1