mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
Merge pull request #240 from stokito/name_width
#128 Set column Name to fixed width 30
This commit is contained in:
commit
b32f90fa4a
@ -14,7 +14,9 @@ type NameCol struct {
|
||||
}
|
||||
|
||||
func NewNameCol() CompactCol {
|
||||
return &NameCol{NewTextCol("NAME")}
|
||||
c := &NameCol{NewTextCol("NAME")}
|
||||
c.fWidth = 30
|
||||
return c
|
||||
}
|
||||
|
||||
func (w *NameCol) SetMeta(m models.Meta) {
|
||||
|
Loading…
Reference in New Issue
Block a user