UncivTooltip
Parameters
target
The widget the tooltip will be added to - take care this is the same for which addListener is called
content
The actor to display as Tooltip
targetAlign
Point on the target widget to align the Tooltip to
tipAlign
Point on the Tooltip to align with the given point on the target
offset
Additional offset for Tooltip position after alignment
animate
Use show/hide animations
forceContentSize
Force virtual content width/height for alignment calculation - because Gdx auto layout reports wrong dimensions on scaled actors.
Sources
jvm source
Link copied to clipboard