Skip to content

Commit

Permalink
Closes #449
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed Jun 17, 2016
1 parent 3bfc785 commit 7b77af8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import org.protege.editor.owl.OWLEditorKit;
import org.protege.editor.owl.model.OWLModelManager;
import org.protege.editor.owl.ui.OWLAxiomTypeFramePanel;
import org.protege.editor.owl.ui.renderer.OWLRendererPreferences;
import org.semanticweb.owlapi.metrics.*;
import org.semanticweb.owlapi.model.AxiomType;
import org.semanticweb.owlapi.model.OWLAxiom;
Expand Down Expand Up @@ -108,7 +109,9 @@ private void createUI() {
tableModelMap.put(metricManagerMap.get(metricsSet), tableModel);
final JTable table = new JTable(tableModel);
table.setGridColor(new Color(240, 240, 240));
table.setRowHeight(table.getRowHeight() + 4);
int fontSize = OWLRendererPreferences.getInstance().getFontSize();
table.setRowHeight(table.getRowHeight() + ( 2 * fontSize / 4));
table.setFont(OWLRendererPreferences.getInstance().getFont());
table.setShowGrid(true);
table.getColumnModel().getColumn(1).setMaxWidth(150);
table.addMouseListener(new MouseAdapter() {
Expand Down

0 comments on commit 7b77af8

Please sign in to comment.