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:
32911e6
)
Align labels format left
author
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:14:09 +0000
(13:14 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 20 Sep 2005 13:14:09 +0000
(13:14 +0000)
src/jalview/gui/TreeCanvas.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/TreeCanvas.java
b/src/jalview/gui/TreeCanvas.java
index
9524544
..
b4fd746
100755
(executable)
--- a/
src/jalview/gui/TreeCanvas.java
+++ b/
src/jalview/gui/TreeCanvas.java
@@
-195,7
+195,7
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
\r
if (showDistances && (node.dist > 0))
\r
{
\r
- nodeLabel = new Format("%5.2f").form(node.dist).trim();
\r
+ nodeLabel = new Format("%-.2f").form(node.dist);
\r
}
\r
\r
if (showBootstrap)
\r
@@
-273,7
+273,7
@@
public class TreeCanvas extends JPanel implements MouseListener, Runnable,
\r
if (showDistances && (node.dist > 0))
\r
{
\r
- g.drawString(new Format("%5.2f").form(node.dist).trim(), xstart+2,
\r
+ g.drawString(new Format("%-.2f").form(node.dist).trim(), xstart+2,
\r
ypos - 2);
\r
}
\r
}
\r