mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #990] Wrong color in DropDown SetListStyles #718
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#718
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eeeXun on GitHub (May 21, 2024).
Original GitHub issue: https://github.com/rivo/tview/issues/990
In the following code, I want to set
unselectedbackground color to red.This is before

03bdc867beThis is after

03bdc867be, some areas did not change to red.@rivo commented on GitHub (Aug 7, 2024):
The latest commit should give you the previous behaviour again.
However, I should note that using
tcell.ColorDefaultwill almost always have unintended side effects. Your code uses these implicitly by usingtcell.StyleDefault. I would advise you to always specify an actual color for both background and foreground (unselected and selected).