Tooltip going off-screen

bashd

New member
I am trying to keep the tooltip from going off-screen but can't seem to get it working using the Panel Bounds on the tooltip script.

In the "6 Hotbar" Demo scene I tried setting the Panel Bound but it has no effect.

Thanks.

tooltip.png
 
That's odd it works for me...
Apart from setting the panel bounds did you make any other changes?
Can you try setting the InventoryCanvas as the PanelBounds?
Is your game view set to a specific resolution? Mine is just set to 16:9 with Scale x1
 
Ok it works when setting InventoryCanvas as the PanelBounds.

However the results can still be a bit inconsistent. Some clipping:
tooltip1.png

Here it is more obvious after setting Anchor Position x = 1:
tooltip2.png

Thanks for the help!
 
Top