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:
80a1a1f
)
Format label left align
author
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:21:13 +0000
(13:21 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:21:13 +0000
(13:21 +0000)
src/jalview/appletgui/TreeCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/TreeCanvas.java
b/src/jalview/appletgui/TreeCanvas.java
index
47bebbe
..
38d23db
100755
(executable)
--- a/
src/jalview/appletgui/TreeCanvas.java
+++ b/
src/jalview/appletgui/TreeCanvas.java
@@
-160,7
+160,7
@@
public class TreeCanvas
String nodeLabel = "";
\r
if (showDistances && node.dist > 0)
\r
{
\r
- nodeLabel = new Format("%5.2f").form(node.dist);
\r
+ nodeLabel = new Format("%-.2f").form(node.dist);
\r
}
\r
if (showBootstrap)
\r
{
\r
@@
-228,7
+228,7
@@
public class TreeCanvas
\r
if (showDistances && node.dist > 0)
\r
{
\r
- g.drawString(new Format("%5.2f").form(node.dist), xstart, ypos - 5);
\r
+ g.drawString(new Format("%-.2f").form(node.dist), xstart, ypos - 5);
\r
}
\r
\r
}
\r