I berechnen die Koordinaten von Punkt b durch:
Code: Select all
B.y = (Button.minY + Button.maxY) / 2 - Tooltip.height / 2
Code: Select all
tooltip.getHeight()
Code: Select all
B.y = (Button.minY + Button.maxY) / 2 - Tooltip.height / 2
Code: Select all
tooltip.getHeight()