View Single Post
  #1  
Old 06-07-2015, 04:46 PM
tokola tokola is offline
Member
 
Join Date: Nov 2012
Posts: 67
Red face Custom-permanent tooltip

I am trying to create a permanent tooltip using panels, but cannot make it work as desired. I basically want the panel/tooltip to be linked to an object (node) on screen, using normalized window coordinates. The problems are:
1. Using tooltips I get limited functionality/appearance and cannot seem to be able to translate to window coordinates (0-1). I couldn't find a way to convert the normalized coordinates in a window to pixels in the window (not world).
2. Using vizdlg panels I can format the panel as desired, but cannot link it to the object (a shape primitive). The offset does not work as expected although the object is added as a parent to the screen (not the world). Additionally, the panel does not follow the movement of the object, as would be expected from the linking.

I attach a script with my experiments. Both approaches can be seen and tested.

Help would be greatly appreciated!
Attached Files
File Type: zip tooltip.zip (1.1 KB, 1910 views)
Reply With Quote