Table of Contents

Method GetMaxColsForWidth

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetMaxColsForWidth(List<ustring>, int)

Gets the index position from the list based on the width.

public static int GetMaxColsForWidth(List<ustring> lines, int width)

Parameters

lines List<ustring>

The lines.

width int

The width.

Returns

int

The index of the list that fit the width.