inspection tool window: unused declaration view more pretty

This commit is contained in:
Dmitry Batkovich
2016-03-15 09:54:35 +03:00
parent 381980475f
commit 45be7bae39
2 changed files with 1 additions and 1 deletions
@@ -596,6 +596,7 @@ public class UnusedDeclarationPresentation extends DefaultInspectionToolPresenta
css.addRule("p.problem-description-group {text-indent: " + JBUI.scale(9) + "px;font-weight:bold;}");
css.addRule("div.problem-description {margin-left: " + JBUI.scale(9) + "px;}");
css.addRule("ul {margin-left:" + JBUI.scale(10) + "px;text-indent: 0}");
css.addRule("code {font-family:" + UIUtil.getLabelFont().getFamily() + "}");
final StringBuffer buf = new StringBuffer();
getComposer().compose(buf, entity, false);
final String text = buf.toString();
@@ -273,7 +273,6 @@ public abstract class HTMLComposerImpl extends HTMLComposer {
@Override
public void appendElementOutReferences(StringBuffer buf, RefElement refElement) {
if (refElement.getOutReferences().size() > 0) {
buf.append(BR);
appendHeading(buf, InspectionsBundle.message("inspection.export.results.uses"));
startList(buf);
for (RefElement refCallee : refElement.getOutReferences()) {