add resize handlers, screen width error to expandedWidgets

This commit is contained in:
Bradley Cicenas
2017-03-06 22:05:04 +00:00
parent 2ee0ae7fcb
commit d94aed1531
7 changed files with 98 additions and 33 deletions

View File

@@ -13,11 +13,11 @@ type ExpandedMem struct {
func NewExpandedMem() *ExpandedMem {
mem := &ExpandedMem{
ui.NewBarChart(),
NewIntHist(8),
NewIntHist(10),
}
mem.BorderLabel = "MEM"
mem.Height = 10
mem.Width = 50
mem.Width = colWidth[0]
mem.BarWidth = 5
mem.BarGap = 1
mem.X = 0