mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JBTable: disabling inter-cell spacing for striped tables
This commit is contained in:
@@ -392,6 +392,7 @@ public class JBTable extends JTable implements ComponentWithEmptyText, Component
|
||||
myStriped = striped;
|
||||
if (striped) {
|
||||
getColumnModel().setColumnMargin(0);
|
||||
setIntercellSpacing(new Dimension(getIntercellSpacing().width, 0));
|
||||
setShowGrid(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user