git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32e380
)
make annotation label font size follow alignment font size.
author
jprocter
<Jim Procter>
Tue, 15 Aug 2006 11:10:03 +0000
(11:10 +0000)
committer
jprocter
<Jim Procter>
Tue, 15 Aug 2006 11:10:03 +0000
(11:10 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
a9adde4
..
0788864
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-413,9
+413,9
@@
public class AnnotationLabels extends JPanel implements MouseListener,
public void drawComponent(Graphics g, int width)
\r
{
\r
if(av.getFont().getSize()<10)
\r
- g.setFont(new Font("Arial", Font.PLAIN, av.getFont().getSize()-1));
\r
- else
\r
g.setFont(font);
\r
+ else
\r
+ g.setFont(av.getFont());
\r
\r
FontMetrics fm = g.getFontMetrics(g.getFont());
\r
g.setColor(Color.white);
\r