Fixed Table.SetCellSimple(). Resolves #35

This commit is contained in:
Oliver 2018-01-20 15:59:52 +01:00
parent 89ae756605
commit f3686bfe15
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ func (t *Table) SetCell(row, column int, cell *TableCell) *Table {
// SetCellSimple calls SetCell() with the given text, left-aligned, in white.
func (t *Table) SetCellSimple(row, column int, text string) *Table {
t.SetCell(row, column, &TableCell{Text: text, Align: AlignLeft, Color: Styles.PrimaryTextColor})
t.SetCell(row, column, NewTableCell(text))
return t
}