<fx:Style>
.formStyle
{
indicatorGap: 5;
labelWidth: 100;
paddingBottom: 5;
paddingLeft: 0;
paddingRight: 0;
paddingTop: 5;
labelWidth: 250;
}
</fx:Style>
Chad,
The popup that is used in the Viewer is actually part of the Flex API, so the source for it is not in the Viewers project structure. That being said it is easy to add the API's PopUpRendererSkin.mxml to your Flex Viewer project so that you can modify it and have it used by your viewer app. All you need to do is get the Flex API download from here:
http://resources.arcgis.com/content/arcgis-flex-api-download
- When you unzip it you will have a arcgis_api_for_flex_2_4 folder drill down and find arcgis_api_for_flex_2_4\ArcGIS_Flex\skins\src\com\esri\ags\skins\PopUpRendererSkin.mxml and copy it to the clipboard.
- In the Flex Viewer project right click on src folder in the Package Explorer and choose New > Package and for the name field put com.esri.ags.skins and then paste the PopUpRendererSkin.mxml into that Package/folder.
- then look for vGroup.addElement(zoomToButton) and comment that line out.
- Then the next time you compile run your viewer the zoom to button should be gone.
Lefteris,
You will have to export a release build and then copy everything from the bin-release folder to your web server.
Jonathan,
Sure that is as easy as changing the style block in the PopUpRendererSkin.mxml<fx:Style> .formStyle { indicatorGap: 5; labelWidth: 100; paddingBottom: 5; paddingLeft: 0; paddingRight: 0; paddingTop: 5; labelWidth: 250; } </fx:Style>
<!--- @private --> <mx:Form id="descriptionForm" width="100%" height="100%" horizontalScrollPolicy="off" indicatorGap="5" labelWidth="150" paddingBottom="5" paddingLeft="0" paddingRight="0" paddingTop="5" verticalScrollPolicy="off"/>