Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Better column alignment on right side
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbassi committed Apr 20, 2018
1 parent 106fad5 commit 4da1e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ func (self *Proc) ColResize() {
self.CellXPos = []int{
self.Gap,
self.Gap + self.ColWidths[0] + self.Gap,
self.X - self.Gap - self.ColWidths[3] - self.Gap - self.ColWidths[2],
self.X - self.Gap - self.ColWidths[3],
(self.X + 2) - self.Gap - self.ColWidths[3] - self.Gap - self.ColWidths[2],
(self.X + 2) - self.Gap - self.ColWidths[3],
}

rowWidth := self.Gap +
Expand Down

0 comments on commit 4da1e46

Please sign in to comment.