You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matt Cooper (JIRA)" <de...@myfaces.apache.org> on 2008/05/15 20:33:55 UTC

[jira] Reopened: (TRINIDAD-986) EXTERNAL DIALOG FAILING TO RESIZE TO CONTENT

     [ https://issues.apache.org/jira/browse/TRINIDAD-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Cooper reopened TRINIDAD-986:
----------------------------------


Reopening because an automatic height should not be used when the dialog has defined dimensions.  Auto height should only be used when the dialog has undefined dimensions because otherwise the _sizeWin function will have dialog dimensions passed into it which means the dialog has a fixed height and thus contents of the body should be allowed to stretch (e.g. 100%) to match the height of the dialog.

Right now, with an automatic height, a percent height inside of that would resolve to zero--at least on some browsers, if not most.

> EXTERNAL DIALOG FAILING TO RESIZE TO CONTENT
> --------------------------------------------
>
>                 Key: TRINIDAD-986
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-986
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.6-core
>         Environment: Win32 FireFox
>            Reporter: Gary VanMatre
>            Assignee: Matt Cooper
>             Fix For: 1.0.7-core, 1.2.7-core
>
>         Attachments: Window.patch
>
>
> External "Trinidad" dialog windows are resized to content using the offsets 
> of the internal frame.  The script "_sizeWin" as part of the Trinidad commons 
> script resource bundling is failing to calculate the actual size of the inner 
> content frame.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.