Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Change position of ToolTip



  • Premium

Hey guys,

I was wondering about how to change position of alignment ToolTip window. I couldn't find any working solution. Below at the picture you can see what I need to do. 

But I need to make it showing right since you can move with the char window so there must be some x,y check so the window can't go out of game.



Thanks for your answers and ideas!

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
  • Nitro Booster
''' @ uiToolTip.py '''
# Function "SetTooltipPosition" allows you to do this.

# You can use the position of your mouse using wndMgr.
# Example:
(mouseX, mouseY) = wndMgr.GetMousePosition() # Don't forget to import wndMgr
toolTip.SetTooltipPosition(mouseX - x, mouseY - y)

# Or you can set the position manually.
toolTip.SetTooltipPosition(x, y)


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.