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:
ee7d621
)
JAL-3054 small y-overlap of tooltip and cell leads the eye better
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 6 Jul 2018 09:55:46 +0000
(10:55 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 5 Mar 2019 09:02:21 +0000
(09:02 +0000)
src/jalview/gui/FeatureSettings.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/FeatureSettings.java
b/src/jalview/gui/FeatureSettings.java
index
40e49fb
..
da4de25
100644
(file)
--- a/
src/jalview/gui/FeatureSettings.java
+++ b/
src/jalview/gui/FeatureSettings.java
@@
-236,7
+236,7
@@
public class FeatureSettings extends JPanel
}
/**
- * Position the tooltip at the bottom edge of, and half way across, the
+ * Position the tooltip near the bottom edge of, and half way across, the
* current cell
*/
@Override
@@
-246,7
+246,7
@@
public class FeatureSettings extends JPanel
int column = table.columnAtPoint(point);
int row = table.rowAtPoint(point);
Rectangle r = getCellRect(row, column, false);
- Point loc = new Point(r.x + r.width / 2, r.y + r.height);
+ Point loc = new Point(r.x + r.width / 2, r.y + r.height - 3);
return loc;
}
};