Skip to content

Grid line painter difference between Dark and Light themes when spanning #67

Answered by fipro78
jmenzies12 asked this question in Q&A
Discussion options

You must be logged in to vote

Because of this, this painter overrides any painter that I register and does not paint the background in order to overpaint the grid lines.

Yes, the CSS engine always wins over any style configuration. This is the nature of the CSS engine to support dynamic changes to CSS.

Do I have to register a CSS configuration to override this behaviour?

That is what I was trying to tell you. There is no default CSS configuration for a NatTable. IIRC it will return some default if no configuration is found. And in your case, this is a simple TextPainter without a background. Why this is the case for your Eclipse themes? I have no idea. Maybe because you configured some values in the light mode and…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jmenzies12
Comment options

@fipro78
Comment options

@jmenzies12
Comment options

@fipro78
Comment options

Answer selected by jmenzies12
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