Я рассчитываю координаты точки B by:
Код: Выделить всё
B.y = (Button.minY + Button.maxY) / 2 - Tooltip.height / 2
Код: Выделить всё
tooltip.getHeight()Подробнее здесь: https://stackoverflow.com/questions/796 ... -getheight
Код: Выделить всё
B.y = (Button.minY + Button.maxY) / 2 - Tooltip.height / 2
Код: Выделить всё
tooltip.getHeight()