ToolTip Auto Position On Screen

Started by sors, 09 June 2021, 20:42:17

sors

Hello, tell me please how i can set automatic position ToolTip on Button.
In this time i have a ToolTip crawling out from window.

texus

It's currently not possible.
I might have a look at implementing this in the next few days. It doesn't look that difficult, I think this line just has to check if the position plus size of the tooltip is larger than the size of m_view.

texus

The TGUI version from github now places the tool tip so that it doesn't fall (partially) outside the window.