Crate line_adjustment
source ·Functions
- Accepts string and adjusts it according the
line_width
. Tries to fit words, separated by any whitespace to one line (limited byline_width
). Remaining words, that does not fit into one line will be moved to next line.