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:
bda5c08
)
draw graph label lower down
author
amwaterhouse
<Andrew Waterhouse>
Fri, 15 Apr 2005 14:58:34 +0000
(14:58 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 15 Apr 2005 14:58:34 +0000
(14:58 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
9c12b89
..
3332f08
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-193,9
+193,15
@@
public class AnnotationLabels extends JPanel implements MouseListener, MouseMoti
\r
x = getWidth() - fm.stringWidth(aa[i].label)-3;
\r
\r
+ if(aa[i].isGraph)
\r
+ y+=(aa[i].height/3);
\r
+
\r
g.drawString(aa[i].label, x, y);
\r
\r
- y+=aa[i].height;
\r
+ if(aa[i].isGraph)
\r
+ y+=(2*aa[i].height/3);
\r
+ else
\r
+ y+=aa[i].height;
\r
}
\r
\r
if (active)
\r