From 586bad8991353e9b2199117c7227fd116460f6c8 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 6 Jul 2018 10:55:46 +0100 Subject: [PATCH] JAL-3054 small y-overlap of tooltip and cell leads the eye better --- src/jalview/gui/FeatureSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 40e49fb..da4de25 100644 --- 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; } }; -- 1.7.10.2