1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Border color on the widgets

This commit is contained in:
Chris Cummer
2018-04-02 22:09:01 -07:00
committed by Chris Cummer
parent 46d3983cf3
commit 7555ae3b5c
8 changed files with 17 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ import (
"strings"
"time"
"github.com/gdamore/tcell"
"github.com/rivo/tview"
"github.com/senorprogrammer/wtf/wtf"
"google.golang.org/api/calendar/v3"
@@ -48,6 +49,7 @@ func (widget *Widget) addView() {
view := tview.NewTextView()
view.SetBorder(true)
view.SetBorderColor(tcell.ColorGrey)
view.SetDynamicColors(true)
view.SetTitle(widget.Name)
view.SetWrap(false)