reduce gap between text and link in debugger tree

This commit is contained in:
Egor.Ushakov
2015-02-05 17:00:44 +03:00
parent 66b5ffdd62
commit 255506aede
@@ -38,8 +38,10 @@ class XDebuggerTreeRenderer extends ColoredTreeCellRenderer {
private int myLinkWidth;
public XDebuggerTreeRenderer() {
Insets ipad = myLink.getIpad();
myLink.setIpad(new JBInsets(ipad.top, 0, ipad.bottom, ipad.right));
Insets myLinkIpad = myLink.getIpad();
myLink.setIpad(new JBInsets(myLinkIpad.top, 0, myLinkIpad.bottom, myLinkIpad.right));
Insets myIpad = getIpad();
setIpad(new JBInsets(myLinkIpad.top, myIpad.left, myLinkIpad.bottom, 0));
}
public void customizeCellRenderer(@NotNull final JTree tree,