ProjectDetailPane modified as a Component (type)

This commit is contained in:
Anis Ahmad
2020-06-12 18:50:41 +06:00
parent 46cc0bfd18
commit 20cbdb4f8d
6 changed files with 46 additions and 30 deletions

View File

@@ -12,6 +12,8 @@ import (
"github.com/ajaxray/geek-life/util"
)
var blankCell = tview.NewTextView()
func makeHorizontalLine(lineChar rune, color tcell.Color) *tview.TextView {
hr := tview.NewTextView()
hr.SetDrawFunc(func(screen tcell.Screen, x int, y int, width int, height int) (int, int, int, int) {