diff --git a/cwidgets/compact/text.go b/cwidgets/compact/text.go index 3a6aa44..1ac7cae 100644 --- a/cwidgets/compact/text.go +++ b/cwidgets/compact/text.go @@ -19,10 +19,6 @@ func NewNameCol() CompactCol { func (w *NameCol) SetMeta(m models.Meta) { w.Text = m.Get("name") - // truncate container id - if len(w.Text) > 12 { - w.Text = w.Text[:12] - } } type CIDCol struct { @@ -35,9 +31,6 @@ func NewCIDCol() CompactCol { func (w *CIDCol) SetMeta(m models.Meta) { w.Text = m.Get("id") - if len(w.Text) > 12 { - w.Text = w.Text[:12] - } } type NetCol struct {