auto-positioning my widget

1682
1
08-06-2013 03:20 AM
XiaxinYing
New Contributor
I noticed that MapSwitcher widget can update its position according to different explorer window size. Now i have a widget and i tend to put it on the top right of my explorer window. How can i always put it in the right place when the window size changes?
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Xiaxin Ying,

   Look in the documentation for the top, right, bottom, left attributes of any widget for positioning. Just like any other flex object you can define a number of pixels from the top and a number of pixels from the right for your widget.

http://resources.arcgis.com/en/help/flex-viewer/concepts/01m3/01m30000001w000000.htm

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos