[GH-ISSUE #173] Unable to change the background of graphicsColor in treeView #138

Closed
opened 2026-03-04 01:02:17 +03:00 by kerem · 1 comment
Owner

Originally created by @jantb on GitHub (Oct 20, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/173

Hi, it uses the default color of tcell as background.
lineStyle := tcell.StyleDefault.Foreground(t.graphicsColor)
can we add a setting for background too?

Originally created by @jantb on GitHub (Oct 20, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/173 Hi, it uses the default color of tcell as background. `lineStyle := tcell.StyleDefault.Foreground(t.graphicsColor)` can we add a setting for background too?
kerem closed this issue 2026-03-04 01:02:17 +03:00
Author
Owner

@rivo commented on GitHub (Oct 27, 2018):

Hi, thanks for letting me know. This was a bug which should now be fixed. The background should be the same as defined with Box.SetBackgroundColor().

<!-- gh-comment-id:433613499 --> @rivo commented on GitHub (Oct 27, 2018): Hi, thanks for letting me know. This was a bug which should now be fixed. The background should be the same as defined with [`Box.SetBackgroundColor()`](https://godoc.org/github.com/rivo/tview#Box.SetBackgroundColor).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#138
No description provided.