Method MaxWidth | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
MaxWidth(ustring, int)
Computes the maximum width needed to render the text (single line or multiple lines) given a minimum width.
public static int MaxWidth(ustring text, int width)
Parameters
text
ustring
Text, may contain newlines.
width
int
The minimum width for the text.
Returns
Max width of lines.