Select to view content in your preferred language

Resize the eSearch Widget Default Box Size (or other widgets)

2081
3
Jump to solution
02-25-2013 11:55 AM
NicholasMcNamara
Frequent Contributor
Is there a way to resize the default size of the eSearch widget? I have a search that is 2 lines and it results in a little scrollbox appearing on the right side so the user can scroll, or they can manually stretch the box with the grip. Also, if it's possible to relocate the box a little bit for its default position on the screen, I'd like to nudge it a bit.

[ATTACH=CONFIG]22153[/ATTACH]

Any ideas if this is possible? I'm using compiled Flex.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Nick,

  Every widget has the ability to have a height and width set in their main config.xml.

        <widget label="Enhanced Search" preload="open"                 icon="assets/images/i_search.png" height="250" width="400"                 config="widgets/eSearch/eSearchWidget.xml"                 url="widgets/eSearch/eSearchWidget.swf"/>

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Nick,

  Every widget has the ability to have a height and width set in their main config.xml.

        <widget label="Enhanced Search" preload="open"                 icon="assets/images/i_search.png" height="250" width="400"                 config="widgets/eSearch/eSearchWidget.xml"                 url="widgets/eSearch/eSearchWidget.swf"/>
0 Kudos
RhettZufelt
MVP Notable Contributor
Nick,

As well of the initial open location of the widget.  to relocate it, use top,bottom,left,right,vert/horizontal center in the widget tag.

the available options can be seen here:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Widget_tag/01m30000001w000000/ which gives you good example graphics of how it works.

R_
0 Kudos
NicholasMcNamara
Frequent Contributor
Thanks to the both of you, everything is much prettier now .
0 Kudos