Select to view content in your preferred language

Resizable Widget Issue

1517
8
04-02-2010 03:03 PM
MatthewBullock
Occasional Contributor
I posted this thread a few days ago on the old forums, but figured I would give the new forums a shot.

I incorporated the code from the code gallery post of resizeable widgets (http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=16853)  into my SFV app.

Everything seems to be working ok, but I am having issues with resizing the widget and then doing a minimize/maximize. The problem occurs when a widget is expanded in size and then the user minimizes the widget. When the user clicks the icon to maximize the widget, only part of the widget is shown and scroll bars (horizontal and vertical) are displayed. This issues occurs when the widget is docked or undocked.

I have tried to manipulate the height/width numbers in the maximizeWidget function for the main canvas but have been unsuccessful.

Has anyone else ran into this issue or have any suggestions?
Tags (2)
0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus
Matthew,

   Well  since Melinda Frost as been pulled off to another project and has not had time to fix the re-sizeable widget enhancement to my dragable widget template I guess she would not mind me sharing the fixes. Attached is the code.
0 Kudos
MatthewBullock
Occasional Contributor
  Matthew,  
 
Well since Melinda Frost as been pulled off to another project and has not had time to fix the re-sizeable widget enhancement to my dragable widget template I guess she would not mind me sharing the fixes. Attached is the code. 



Thanks Robert,

That fixed the issue I was encountering. I appreciate the help on this. Hopefully it will help others as well.

I'm trying to figure out how to mark the thread as answered in the new forum. Once I figure it out I will mark it.


Thanks!
0 Kudos
BarbaraPutnam
Emerging Contributor
I'm not able to download your zip file.  It says the file is corrupted.  Can you reattach the file or add a text file?   Thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
bjjj490,

   No one else is having an issue. I can not attach it as a text file as there are multiple files that comprise the changes. Try downloading the zip from another computer.
0 Kudos
BarbaraPutnam
Emerging Contributor
You're right.  It was browser related.  You're code changes work great.  Thanks!
0 Kudos
BobbySells
Emerging Contributor
Robert,
I downloaded the zip but when i try to extract it errors. I used winrar to rebuild the archive and the rebuilt zip errors as corrupt.
Bobby
0 Kudos
MatthewBullock
Occasional Contributor
Robert,
I downloaded the zip but when i try to extract it errors. I used winrar to rebuild the archive and the rebuilt zip errors as corrupt.
Bobby


Are you trying to download the zip with IE? IE 7 seems to be causing the issue on my end. Try using Firefox.


I used 7Zip to extract the file downloaded from Firefox without any issues.
0 Kudos
BobbySells
Emerging Contributor
Great.  Thanks IE.
It worked perfectly through firefox.
thanks,
Bobby
0 Kudos