Fixed Table.SetCellSimple(). Resolves #35

pull/40/head
Oliver 7 years ago
parent 89ae756605
commit f3686bfe15

@ -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
}

Loading…
Cancel
Save