Change Disk column widths

This commit is contained in:
Caleb Bassi 2018-12-12 17:28:31 -08:00
parent ce4f867bc1
commit 001d5ca835

View File

@ -153,8 +153,8 @@ func (self *Disk) update() {
// ColResize overrides the default ColResize in the termui table.
func (self *Disk) ColResize() {
self.ColWidths = []int{
4,
utils.Max(5, self.X-33),
utils.Max(4, (self.X-29)/2),
utils.Max(5, (self.X-29)/2),
4, 5, 5, 5,
}