Select to view content in your preferred language

Reposition widgetcontainer

1396
12
01-27-2011 10:58 AM
BobCarberry
Deactivated User
I created a custom search UI element widget which resides on the HeaderController.  It takes up a lot of space and doesn't leave much room for the widgetcontainer.  Does anyone know of an easy way to move the widgetcontainer from the HeaderController?  I wound like to move it below the HeaderController.  Another nice way I saw this issue being addressed was to place the widgetcontainer and other tools in a horizontal scroll like control.  Here is the link from Calhoun County, Alabama:  http://gis.calhouncounty.org/FlexView/Index.html  If anyone could give any pointers or steer me in the right direction, that would be great!
Tags (2)
0 Kudos
12 Replies
DasaPaddock
Esri Regular Contributor
You can set left, right, top or bottom on the widgetcontainer. See:
http://help.arcgis.com/en/webapps/flexviewer/help/widgetcontainer_tag.htm
0 Kudos
BobCarberry
Deactivated User
You can set left, right, top or bottom on the widgetcontainer. See:
http://help.arcgis.com/en/webapps/flexviewer/help/widgetcontainer_tag.htm


Dasa,

Thanks for your reply, however I tried that and the widgetcontainer still does not reposition.  Is there something else I must do?  It seems that all the code that sets everything for the widgetcontainer is found within the HeaderControllerWidget.   Do I need to set something there as well?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bob,

  I will see if I can post some code for this might be next week though.
0 Kudos
BobCarberry
Deactivated User
Bob,

  I will see if I can post some code for this might be next week though.


Thanks so much Robert!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bob,

   Here is the source for a scrollable HeaderControlWidget
0 Kudos
BobCarberry
Deactivated User
As always, thanks you so much Robert!  I've integrated the new header and it works great!  I have 1 question for you however, I noticed on your site you have navigation tools integrated within the scroll bar as well. Are these widgets that were added to the widgetcontainer? I have a couple UI elements that I would like to add to this scroll bar as well.  Is this possible?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bob,

   My sites navigation controls are custom nav widgets that I developed to go in the HeaderControlWidget.
I stripped a lot of different stuff out of the version I posted. I can't given away all my sites uniqueness!
0 Kudos
BobCarberry
Deactivated User
I completly understand!  I think I figured out a solution anyway.  Thanks you so much again!
0 Kudos
LarryStout
Deactivated User
Thanks, Robert.  I had taken a different approach to the widget icons.  I was grouping them as the Header Controller became smaller.  It worked, but I liked your idea better so I abandoned my code in favor of yours.
0 Kudos