FV 3.1 WordWrap

1935
5
01-09-2013 05:29 AM
ChristopherDamon
New Contributor II
All-

We have upgraded an application from FV3.0 to the 3.1 Viewer for Flex and have lost the ability to wrap text in the Splash widget and the "About" page in the HeaderController widget.  Do folks have any suggestions on how we might restore this functionality?  We areworking directly with the source code, so updating mxml files and recompiling is no problem.  I appreciate any input.
Tags (2)
0 Kudos
5 Replies
HeatherGonzago
Esri Contributor
The default height and width of the Splash dialog has changed from 500 to 300. You can update the size of the dialog using link > content > height and width tags for the Header Control widget.  And Width and Height tags for the Splash widget config. See if you can change this back to 500? Do you still get the same issue?

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Header_Controller_widget_tags/0...
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Splash_widget_tags/01m300000005...
0 Kudos
GISDev1
Occasional Contributor III
Alternatively, Esri in the Flex API V3.1 has changed how they parse the splashwidget.xml text.

You could use a CDATA tag and use HTML line breaks (<br> ) if you want to break the test at your determined locations.
0 Kudos
JeremyCantor
New Contributor III
I'm using ArcGIS Viewer for Flex 3.1, not the API. Is there any other way to get text in a paragraph to wrap without using a <br>?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeremy,

   If you are working with the source code you can see the fix esri has for 3.2 here:

https://github.com/Esri/arcgis-viewer-flex/issues/41

If you are not then No you will have to wait till the end of the month for 3.2
0 Kudos
JeremyCantor
New Contributor III
Ok. Thanks for the response, Robert. I'm not using source code so I guess I'll just wait or add those break tags.
0 Kudos