Select to view content in your preferred language

How to avoid overlap with info window and other components

688
0
05-30-2010 07:10 PM
TimLeigh
Emerging Contributor
I'm using the sample flex viewer template, with a custom identify widget which displays images and identify results.

The identify results end up being fairly large and hard to read as they appear under other widgets and controls.

One workaround seems to be to set the the child index of the popup component.

  private function init():void {
   parent.setChildIndex(this.parent, numChildren-1);
  }

What I'd like to do is dynamically reposition the popup component based on other components to avoid overlap.  The following post seems to be some help however it does it by attaching a mouse move event listener to every component. 

http://www.davidortinau.com/blog/2010/03/

Has anyone else come up with a solution for this?

Thanks

Tim
Tags (2)
0 Kudos
0 Replies