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:
a2ada91
)
JAL-1799 tweaked calculation for applet, now showing 2 not 3 seqs
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 6 Jul 2015 09:20:56 +0000
(10:20 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Mon, 6 Jul 2015 09:20:56 +0000
(10:20 +0100)
src/jalview/appletgui/AlignmentPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AlignmentPanel.java
b/src/jalview/appletgui/AlignmentPanel.java
index
f321581
..
463c6c3
100644
(file)
--- a/
src/jalview/appletgui/AlignmentPanel.java
+++ b/
src/jalview/appletgui/AlignmentPanel.java
@@
-564,11
+564,7
@@
public class AlignmentPanel extends Panel implements AdjustmentListener,
int mheight = annotationHeight;
Dimension d = sequenceHolderPanel.getSize();
- int availableHeight = d.height - scalePanelHolder.getSize().height;
- if (hscroll.isVisible())
- {
- availableHeight -= hscroll.getPreferredSize().height;
- }
+ int availableHeight = d.height - scalePanelHolder.getHeight();
if (adjustPanelHeight)
{