Grid line painter difference between Dark and Light themes when spanning #67
-
Hey there, I am in the process of trying to configure our NatTables to display nicely with the dark theme. I ran into a weird issue however, even with the default painter, it seems to be displaying lines for all of the rows, even ones that should be hidden due to spanning. However it is not doing this on light theme (screenshots below). I tried using a custom painter and setting them to blue to see if maybe it was just not showing up on light mode but it has the same issue. It wouldn't surprise me at all if we've configured something wrong but I'm not entirely sure what would cause this. Any thoughts? Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I suppose you have created your own dark theme and you are not using the I would expect that you configured a body cell painter without background painting in your dark theme. The grid lines are actually always painted. On spanning the grid lines are "overpainted" by the cell background, either via |
Beta Was this translation helpful? Give feedback.
Yes, the CSS engine always wins over any style configuration. This is the nature of the CSS engine to support dynamic changes to CSS.
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…