Skip to content

Commit

Permalink
Fixed wrong scroll pane border of key-value panels in IntelliJ IDEA
Browse files Browse the repository at this point in the history
  • Loading branch information
ingokegel committed Oct 12, 2020
1 parent c40f7de commit 0ffca3b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ import javax.swing.AbstractAction
import javax.swing.JComponent
import javax.swing.JScrollPane
import javax.swing.JTree
import javax.swing.border.Border
import javax.swing.event.HyperlinkEvent
import javax.swing.tree.TreePath

abstract class KeyValueDetailPane<T : Any>(elementClass: Class<T>, services: BrowserServices) : DetailPane<T>(elementClass, services) {

private val scrollPane = JScrollPane(this).apply {
private val scrollPane = object : JScrollPane(this) {
override fun setBorder(border: Border?) {
}
}.apply {
GUIHelper.setDefaultScrollBarUnits(this)
border = null
}
Expand Down

0 comments on commit 0ffca3b

Please sign in to comment.