get_lines_len

Function get_lines_len 

Source
pub fn get_lines_len(child: impl IntoUiNode, len: impl IntoVar<usize>) -> UiNode
Expand description

P Gets the number of lines in the text, including wrap lines.

This is very cheap, the text widget already has the length, but it does include wrapped lines. You can use get_lines_wrap_count to get text lines and a count of wrapped lines for each.