Fixed ParseTableFromText to correctly count columns for single line tables
This commit is contained in:
parent
eae4e95c0a
commit
3e953c5c21
@ -3882,6 +3882,7 @@ namespace Volian.Controls.Library
|
||||
maxRow = curRow; // +1;
|
||||
curRow = 0;
|
||||
curCol = 0;
|
||||
if (maxcol == 0) maxCol = dicCols.Count;
|
||||
// The resulting Table Grid size in rows and columns
|
||||
this.Cols.Count = maxCol + 1;
|
||||
this.Rows.Count = maxRow + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user