PDA

View Full Version : Widget Tooltip stacking



Ken L
November 23rd, 2018, 17:21
I have 'busy' tokens that have multiple widgets on them layered atop each other. I have a need to have the tooltip reflect the top most visible widget rather than a widget partially or completely beneath it.

What is the heuristic for which widget tooltips are displayed aside from the known fact that internally it's a modification of the token tooltip using mouse coordinates? This way I can at least add or stack widgets so I can get the desired effect. There is no option to not have the widgets overlay for my usecase.

Moon Wizard
November 24th, 2018, 02:09
It looks like the first widget in the list is the one that generates the tooltip. (i.e. backmost) It should probably be the other way around (i.e. topmost widget), so I'll get that updated for v3.3.7.

Also, if the topmost widget has an empty tooltip, then the token tooltip is used.

If you need something more complex than topmost, then you'll probably need to handle in the hover update event for the token.

Regards,
JPG