ui-element at Version control / Log

Answered

Would you prompt me what UI-controls are used at Version control tool window at the Log tab? The table is without header but with allowing of a column width changes at the grid. I couldn't find it at sources

0
2 comments

See com.intellij.ui.table.JBTable, JBTable.InvisibleResizableHeader and its usage in com.intellij.vcs.log.ui.table.VcsLogGraphTable as an example.
Smth like this

val table = JBTable(...)
table.setShowVerticalLines(false)
table.setShowHorizontalLines(false)
table.setIntercellSpacing(JBUI.emptySize())
table.setTableHeader(InvisibleResizableHeader())

 

1

Thank you. That's I was looking for

0

Please sign in to leave a comment.