TableHeader: fixed missing column separator for left column in right-to-left mode with vertical scroll bar visible

This commit is contained in:
Karl Tauber
2019-09-03 11:30:35 +02:00
parent 18058f2ea2
commit 32c1bf3b96

View File

@@ -121,7 +121,8 @@ public class FlatTableHeaderUI
int x = width;
for( int i = 0; i < sepCount; i++ ) {
x -= columnModel.getColumn( i ).getWidth();
g2.fill( new Rectangle2D.Float( x - lineWidth, topLineIndent, lineWidth, height - bottomLineIndent ) );
g2.fill( new Rectangle2D.Float( x - (i < sepCount - 1 ? lineWidth : 0),
topLineIndent, lineWidth, height - bottomLineIndent ) );
}
}
} finally {