We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetColumnColor第三个参数fount,正确应该是font,多写了个u
func (tb *Table) SetColumnColor(columnName string, display, fount, background int) { background += 10 for _, col := range tb.Columns.base { if col.Original() == columnName { col.SetColor(display, fount, background) break } } }
根据这句col.SetColor(display, fount, background),第二个参数传进后,对应的参数是font
col.SetColor(display, fount, background)
func (h *Column) SetColor(displayType, font, background int) { c := new(color.Color) c.Display = displayType c.Font = font c.Background = background h.coloredName = c.Combine(h.Original()) return }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SetColumnColor第三个参数fount,正确应该是font,多写了个u
根据这句
col.SetColor(display, fount, background)
,第二个参数传进后,对应的参数是fontThe text was updated successfully, but these errors were encountered: