Skip to content

Row background colors #18

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

linuxras
Copy link

First thanks for making this extension.
I needed to be able to set the background color of the rows in a list dynamically so I went hacking around.
While in the code I also implemented an alternate for colors option and a selection option as well.
I did not get a chance to update the language file but the functions all work so far.
Try it out and let me know what you think.
NOTES:

  1. You cannot use both at the same time, if you turn on UseAltRowColors it will override the color the moment something is selected.
  2. I had to remove the touch-down/touch-up color change for this to work, figured having a visible sign of what item is selected is worth more than flashing a color on touch as a result the touch colors are used for selection instead.

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

Successfully merging this pull request may close these issues.

1 participant