Select to view content in your preferred language

How can i change the windows size of the Print widget with danish lettes?

2886
6
Jump to solution
03-26-2013 03:50 AM
KimBülow
Occasional Contributor
After upgrade to ArcGIS Viewer for Flex 3.2 with danish support, the print window is to small to show the print button when the
widget is pop up. [ATTACH=CONFIG]22955[/ATTACH]

If I pull the corner of the window, button becomes visible
How can i change the window size? in the PrintWidget.xml config file?
We use the ArcGIS Viewer 3.2 for Flex (application builder)
my config

<?xml version="1.0" ?>
<configuration>
    <taskurl>http://**.**.dk/gis/rest/services/Print/VerdoPrint/GPServer/Export%20Web%20Map</taskurl>
    <title visible="true"/>
    <copyright visible="true">Verdo Tele A/S</copyright>
    <author visible="true"/>
    <usescale defaultvalue="17500000">true</usescale>
    <formats defaultvalue="PDF"/>
    <layouttemplates defaultvalue="A4 Portrait"/>
</configuration>
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Kim,

   There is not a way in the App Builder to adjust the width of the print widget. But if you open the main config.xml file in notepad or some other text editor you can add a width attribute to the widget to fix your issue.

So in windows explorer find this file and edit it in NotePad (You may have to launch notepad as Administrator).
C:\inetpub\wwwroot\flexviewers\yourFVapp\config.xml

<widget url="widgets/Print/PrintWidget.swf" width="400" config="widgets/Print/PrintWidget.xml" label="Print" icon="assets/images/i_print.png"/>

View solution in original post

0 Kudos
6 Replies
AnthonyGiles
Honored Contributor
Kim,

You can specify a height and width in the widget tag in your main config file to make the widget wider, I.e:

<widget label="Print" width"350" height="575" .........>

See:

http://help.arcgis.com/en/webapps/fl...000001w000000/

Regards

Anthony
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Kim,

   There is not a way in the App Builder to adjust the width of the print widget. But if you open the main config.xml file in notepad or some other text editor you can add a width attribute to the widget to fix your issue.

So in windows explorer find this file and edit it in NotePad (You may have to launch notepad as Administrator).
C:\inetpub\wwwroot\flexviewers\yourFVapp\config.xml

<widget url="widgets/Print/PrintWidget.swf" width="400" config="widgets/Print/PrintWidget.xml" label="Print" icon="assets/images/i_print.png"/>
0 Kudos
KimBülow
Occasional Contributor
Kim,

   There is not a way in the App Builder to adjust the width of the print widget. But if you open the main config.xml file in notepad or some other text editor you can add a width attribute to the widget to fix your issue.

So in windows explorer find this file and edit it in NotePad (You may have to launch notepad as Administrator).
C:\inetpub\wwwroot\flexviewers\yourFVapp\config.xml

<widget url="widgets/Print/PrintWidget.swf" width="400" config="widgets/Print/PrintWidget.xml" label="Print" icon="assets/images/i_print.png"/>


Thank You, it works
0 Kudos
MohdFaraz
New Contributor
I am able to increase the width of the LEGENG widget but reducing its width is not working. I want to reduce the width lesser than the default value. Please suggest
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mohd,

   The Legend widget has a hard coded value set for the minimum width and height of 300. There is no way for you to change this without editing the code.

wTemplate.width = wTemplate.height = wTemplate.minWidth = wTemplate.minHeight = 300;
0 Kudos
BjornSvensson
Esri Regular Contributor
I am able to increase the width of the LEGEND widget but reducing its width is not working. I want to reduce the width lesser than the default value.


What width did you want?
We're thinking of changing the minimum width to 150 for all widgets... (currently it varies between 200 and 800)
0 Kudos