On 5/3/07, Bertrand, Shawn R <[EMAIL PROTECTED]> wrote:
We use a fair amount of dialogs displayed via the dialog framework (i.e. summoned through "dialog:" navigation rules and launchDialog API calls alike), and a nice feature is the auto sizing that occurs once the DOM is populated with all of the UI components. The sizing is occurring, but all of the dialogs seem to be just a tad smaller than what they should be *in IE only* (FireFox is fine), which results in the display of both horizontal and vertical scroll bars. I'm wondering if there is a common cause for this.
Odd... I've seen a bunch of problems with Firefox being significantly too small (especially width). The Javascript has some fudge factors in it (autosizing isn't a precise thing) that might not tweaking for some pages.
Also, is it possible to have the dialog resize after it is initially resized? I'm guessing this logic is built into some of the Javascript/DOM manipulation and would hope to leverage it in response to action events or the like, since PPR could (and in our case often) introduce new UI and, as a result, scrollbars for the dialog.
There's a _sizeWin() JS function (or something similar). It's not a "public" API, in as much as anything in JS can be considered to be private... But we could look at creating a public API so that you could, for instance, use ExtendedRenderKitService to add a script forcing the window to resize itself. -- Adam

