Help with overriding grid line rendering methods [message #1779584] |
Tue, 09 January 2018 19:13  |
Eclipse User |
|
|
|
Hello,
I am trying to get it so that the vertical grid lines and a select few horizontal grid lines are larger than the other grid lines. I have for all intents and purposes a default grid layer.
The way I've been trying to go about it is by extending GridLineCellLayerPainter/SelectionLayerPainter and changing the drawHorizontalLines and drawVerticalLines methods in them to achieve the behavior that I would like to have, and then setting the layer painters for my body layer and selection layer to the new layer painters. However, when doing so all the grid lines are still rendered with a size of 1.
What am I missing?
Thanks,
Greg
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07210 seconds