Browse Source

Fixed Table.SetCellSimple(). Resolves #35

tablepad
Oliver 5 years ago
parent
commit
f3686bfe15
  1. 2
      table.go

2
table.go

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