Hey all!
I know this question has been asked many times before, but I couldn’t find a full answer. So I have basically 2 questions.
First is, is there a way to mimic the exact same functionality of the ToolTips we get via a mouse hover over, from a gamepad? The main reason why I want to replicate it exactly is because of whatever math happens behind the scenes, to re-position the ToolTip popup to ensure it never overflows off the screen.
In trying to get there myself, I have something that works (sort of), based off the Get Desired Size of my ToolTip widget and adding it / removing it from the Viewport when I’m on an item. The issue here is that Get Desired Size is always 0x 0y the first time it’s drawn. So, the first time the gamepad goes to a slot, the ToolTip is partially off the screen. But the math works fine the second time and it’s repositioned properly.
So, the second question is, if the first question isn’t an option, how can I go about get a proper size the first time?
I have already tried adding it to the viewport, then hiding it without a delay, then making it visible after trying to reposition to no avail.
Any thoughts on either would be very much appreciated!
Thanks!