boxable icon indicating copy to clipboard operation
boxable copied to clipboard

Cell fill color of last column of table overflows the table width

Open samene opened this issue 7 years ago • 4 comments

I have a table where certain cells need to be highlighted in a different color. I am using setFillColor for that. But it is observed that if the cell is the last column in the row then the color overflows outside the table border.

See attached image.

color

samene avatar Feb 05 '19 12:02 samene

hi, I have same problem, have u resolved?

marcodelella avatar Jun 03 '20 08:06 marcodelella

@marcodelella I have tried it on IE and the coloring overflow problem still persists.

KirubelAfrassa avatar Feb 05 '21 10:02 KirubelAfrassa

@KirubelAfrassa @marcodelella

There is a workaround that I have used until this issue is resolved. I added an additional cell in the row after the last cell that has a width of 0f and the fill color set to white (or whatever color you want). This does work well and the cell does not show at all since the width is 0f.

nadamson avatar May 04 '23 14:05 nadamson

@nadamson 's workaround worked for me as well. Cheers mate.

KirubelAfrassa avatar Jun 20 '23 19:06 KirubelAfrassa