Open aatoma opened 5 years ago
Hey @aatoma,
even though I can't have a proper look right now (I am traveling and I don't have a computer with me), I can hopefully already give you some ideas on how to overcome your issue: The drawing of the borders is done from top left cell to bottom right cell, one by one (if I recall that correctly). That means if there is a cell with all borders (top, bottom, left, right) being red and the cell below has all borders blue the top border of that cell will override the bottom border of the cell above, i.e. the line will be "collapsed" and will be blue.
So the thing is there is no concept of non collapsible borders in the current implementation. What can be done though (which is a little bit cumbersome) is to only explicitly specify the borders that are actually needed (e.g. omitting a top border).
Another option is to write a TableDrawer class of its own that has a different way of handling borders.
Hope this helps!
I'm facing an issue with borders of different color and width. The output of the following snippet of code is attached test.pdf
the upper white border of the first name cell, falls in the middle of the thicker black header border, while the upper white border of spare rows hides the lower black border of value cells. Is this a real issue or am I doing something wrong?