[
https://issues.apache.org/jira/browse/WICKET-3080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andera Del Bene reopened WICKET-3080:
-------------------------------------
I've implemented automatic sizing coding a new JavaScript function in file
modal.js. The function is autoSizeWindow() and is called in method show() only
if we have set field autoSize to true. In order to do this I've added method
setAutoSize() and field autoSize to class ModalWindow.
I think I've respected code conventions of both files.
The feature has been tested successfully under Firefox 3.6.10, Opera 10.6,
Chrom 6 , IE 8 and IE 7. Unfortunately I didn't find the way to make it work
under IE6 :-( . I hope it could be helpfull anyway.
Don't hesitate to contact me for any questions/doubts about this code.
> Automatic sizing modal window
> -----------------------------
>
> Key: WICKET-3080
> URL: https://issues.apache.org/jira/browse/WICKET-3080
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Reporter: Andera Del Bene
> Assignee: Igor Vaynberg
> Priority: Minor
> Attachments: FeatureQuickStart.zip, fix-WICKET-1.4.x.patch
>
>
> As default ModalWindow should automatically resizing itself in order to fit
> content's width and height. This should avoid manual size tuning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.