summaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-04-19 20:10:27 -0700
committerCaleb Bassi <calebjbassi@gmail.com>2018-04-19 20:10:27 -0700
commit4da1e467d227c5acbac79193002aa44ce8f7d95d (patch)
tree090f5c15c6822e55e1ec2707d1c3bf8ef418bd63 /widgets
parent106fad5eadbf5d037c9f6eb040d905d7ec6edb0b (diff)
Better column alignment on right side
Diffstat (limited to 'widgets')
-rw-r--r--widgets/proc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/proc.go b/widgets/proc.go
index 2847b8e..24320a9 100644
--- a/widgets/proc.go
+++ b/widgets/proc.go
@@ -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 +