print header separator line with gaps

This commit is contained in:
Ralf Wisser
2022-12-23 14:25:01 +01:00
parent 258d7239e9
commit 76b39fc2f6
@@ -695,6 +695,9 @@ public class TabContentPanel extends javax.swing.JPanel {
}
if (y == 0 && sep == null && incHeader && !(rotate ^ columnNamesInFirstRow)) {
int o = 2;
if (cell[y].length == 1) {
sb.append(" ");
}
for (int x = 0; x < cell[y].length; ++x) {
if (maxLength[x] > 0) {
for (int i = o; i < 2 + maxLength[x]; ++i) {