Select to view content in your preferred language

Widget size and placement upon opening of widget.

1016
2
09-29-2011 09:20 AM
PaulLang
Deactivated User
Within the config.xml file we can set the position on the screen where the widget opens.  How do you take into account monitor size?  For example:  I build a Flex Viewer application based on a 27??? monitor, deploy the application. 
Then users with a 19??? monitor can???t see some of the widget when they open.  Any way to preserve the layout. absolute vs. relative?
Tags (2)
0 Kudos
2 Replies
BjornSvensson
Esri Alum
The size of the monitor is not the real issue, but rather the screen display resolution (how many pixels).  Still the basic problem is the same 🙂

The do-nothing-solution: If you don't set the top/left etc at all in the configuration file the values, then the viewer will attempt to find reasonable places for the widgets.

You could also specify left=... for the leftmost widgets, right=... for the rightmost widgets but still that is only a partial solution/cover-up.
0 Kudos
DanielBaternik
Deactivated User
The ability for the Viewer to scale dynamically to fit a user's screen is highly desirable.

The config should accept width ="100%" and not just absolute sizes.
0 Kudos