Skip to main content

text_area_size

Function text_area_size 

Source
fn text_area_size(text_view: &NSTextView, lines: u32) -> Size
Expand description

A text area’s natural size: the text field’s least width, and lines lines of its font inside its inset and border.