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:
a204ed7
)
comment added in relation to status bar
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Wed, 9 Jan 2019 05:33:45 +0000
(23:33 -0600)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Wed, 9 Jan 2019 05:33:45 +0000
(23:33 -0600)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
7183f7f
..
8f7b61b
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-992,7
+992,12
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
@Override
public void setStatus(String text)
{
- statusBar.setText(text);
+ // BH note: If text width and height are 0, then the layout manager
+ // will dispense of it and change the frame height.
+ // In JavaScript, we use \u00A0 -- unicode "non-breaking space"
+ // which is the unicode encoding of
+
+ statusBar.setText(text.length() == 0 ? " " : text);
}
/*