Skip to content
Discussion options

You must be logged in to vote

Nodes in a Tree aren't widgets, and so aren't part of the DOM, and as such can't be styled (directly) with CSS. Likely the best approach if you want custom highlighting is to inherit from DirectoryTree and extend render_label. See DirectoryTree.render_label to see how it does the current styling.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@b-peri
Comment options

Answer selected by b-peri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants