Skip to content

Commit

Permalink
fix size in BEASTObjectInputEditor #492
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Aug 7, 2016
1 parent 885b637 commit 8e78c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beast/app/draw/BEASTObjectInputEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ protected void addComboBox(JComponent box, Input<?> input, BEASTInterface beastO
});

m_selectBEASTObjectBox.setToolTipText(input.getHTMLTipText());
int fontsize = m_inputLabel.getFont().getSize();
int fontsize = m_selectBEASTObjectBox.getFont().getSize();
m_selectBEASTObjectBox.setMaximumSize(new Dimension(1024, 200 * fontsize / 13));
box.add(m_selectBEASTObjectBox);
}
Expand Down

0 comments on commit 8e78c22

Please sign in to comment.