Fix that works perfect in Firefox only:
Index: ../../svn/ossrepo/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
===================================================================
— ../../svn/ossrepo/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css (revision 15797)
+++ ../../svn/ossrepo/icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css Thu Feb 14 18:07:54 MST 2008
@@ -1688,12 +1688,9 @@
border-top: 1px solid #ABABAB;
border-left: 1px solid #ABABAB;
border-bottom: 2px solid #ABABAB;
- width: auto;
background-color: #DDDDDD;
padding: 0px;
z-index: 1000;
- width: 300px;
- height: 150px;
}
.icePnlPopHdr, .icePnlTlTipHdr {
Index: ../../svn/ossrepo/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java
===================================================================
— ../../svn/ossrepo/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java (revision 15797)
+++ ../../svn/ossrepo/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelpopup/PanelPopupRenderer.java Fri Feb 15 10:05:47 MST 2008
@@ -112,8 +112,7 @@
Element table = domContext.createElement(HTML.TABLE_ELEM);
table.setAttribute(HTML.CELLPADDING_ATTR, "0");
table.setAttribute(HTML.CELLSPACING_ATTR, "0");
- table.setAttribute(HTML.WIDTH_ATTR, "100%");
- table.setAttribute(HTML.STYLE_ATTR, "position:absolute;"); //
ICE-1490
+ table.setAttribute(HTML.STYLE_ATTR, "width:inherit;");
rootDiv.appendChild(table);
// ICE-1490
Fix works perfectly only in Firefox. In IE it would break existing apps with fixed-width popups and the IFRAME hack. See the attached screenshots.