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:
841c332
)
use NEW_WINDOW_WIDTH
author
amwaterhouse
<Andrew Waterhouse>
Wed, 13 Apr 2005 16:35:22 +0000
(16:35 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 13 Apr 2005 16:35:22 +0000
(16:35 +0000)
src/jalview/gui/PairwiseAlignPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PairwiseAlignPanel.java
b/src/jalview/gui/PairwiseAlignPanel.java
index
0d3b0f3
..
972d4f5
100755
(executable)
--- a/
src/jalview/gui/PairwiseAlignPanel.java
+++ b/
src/jalview/gui/PairwiseAlignPanel.java
@@
-63,11
+63,9
@@
public class PairwiseAlignPanel extends GPairwiseAlignPanel
\r
\r
AlignFrame af = new AlignFrame(new Alignment(seq));
\r
- int newHeight = seq.length * af.viewport.getCharHeight() + 200;
\r
- if(newHeight>500)
\r
- newHeight=500;
\r
-
\r
- Desktop.addInternalFrame(af, "Pairwise Aligned Sequences", 700,newHeight);
\r
+ Desktop.addInternalFrame(af, "Pairwise Aligned Sequences",
\r
+ AlignFrame.NEW_WINDOW_WIDTH,
\r
+ AlignFrame.NEW_WINDOW_HEIGHT);
\r
\r
}
\r
\r