fix(ui): set border color to theme.border.color initially
This commit is contained in:
parent
c9eb6b54f6
commit
9e95b18ab7
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ func NewConfiguredBox(box *tview.Box, cfg *config.Theme) *tview.Box {
|
|||
p := b.Padding
|
||||
box.
|
||||
SetBorder(cfg.Border.Enabled).
|
||||
SetBorderColor(tcell.GetColor(b.Color)).
|
||||
SetBorderPadding(p[0], p[1], p[2], p[3]).
|
||||
SetTitleAlign(tview.AlignLeft).
|
||||
SetFocusFunc(func() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue