So far the best I've come up with are:
* Use a CSS sibling selector such as:
.cellTreeItemImage + .cellTreeItemValue { ... }
* Add styling inside my AbstractCell.render() method based on the isLeaf() method.
However, both of these come with the limitation that I can only style my .cellTreeItemValue and .cellTreeItemImage nodes, not the parent .cellTreeItem or .cellTreeItemImageValue nodes.
Does anyone else know of a better way to do this? Is it possible to extend the CellTree renderer to apply a specific style to leaf nodes?
Thanks,
Eric
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZYzb-BJLMg4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment