Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetBackgroundColor on Box doesn't cover all borders #1072

Open
paololazzari opened this issue Jan 24, 2025 · 0 comments
Open

SetBackgroundColor on Box doesn't cover all borders #1072

paololazzari opened this issue Jan 24, 2025 · 0 comments

Comments

@paololazzari
Copy link
Contributor

e.g. running:

package main

import (
	"github.com/gdamore/tcell/v2"
	"github.com/rivo/tview"
)

func main() {
	box := tview.NewBox().SetBorder(false).SetTitle("Hello, world!").SetBackgroundColor(tcell.ColorWhite)
	if err := tview.NewApplication().SetRoot(box, true).Run(); err != nil {
		panic(err)
	}
}

I see the terminal color (blue) on the left, bottom and right borders:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant