Merge pull request #240 from stokito/name_width

#128 Set column Name to fixed width 30
This commit is contained in:
bradley 2020-11-29 09:19:07 -05:00 committed by GitHub
commit b32f90fa4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,9 @@ type NameCol struct {
} }
func NewNameCol() CompactCol { func NewNameCol() CompactCol {
return &NameCol{NewTextCol("NAME")} c := &NameCol{NewTextCol("NAME")}
c.fWidth = 30
return c
} }
func (w *NameCol) SetMeta(m models.Meta) { func (w *NameCol) SetMeta(m models.Meta) {