When the mouse rolls over a hotspot, text is displayed of what the hotspot is. The text is being truncated. How do I fix this?
This is in the global script: x = mouse.x + 20;
y = mouse.y + 20;
// if (x - gGui9.Width > 320) {
// x = 320 - gGui9.Width; }
// if (y - gGui9.Height > 200) {
// y = 200 - gGui9.Height; }
// gGui9.SetPosition(mouse.x, mouse.y);
if (mouse.y > 240/2) y = mouse.y - 10;
else y = mouse.y+10;
if (mouse.x > 320/2) x = mouse.x -10;
else x = mouse.x+10;
gGui9.SetPosition(mouse.x, mouse.y);
Here is a sample of the truncation:
https://mysterymanor.net/junk/SampleOverHotSpot.png
What is the size of the gui and label? It may be simply that they are not large enough.
The gui is Height 240 and Width 320. Can it be the text is larger than the hotspot?
Hie. You may resize the label. I had the similar problem. Just increase the label size and it should work.
That was it! Yikes how did I miss that? I kept making the gui bigger. Thank you so much.