SmartGWT Power Version:
Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-01-05/PowerEdition Deployment 2011-01-05)
I'm using HTMLPane as an iframe. In Firefox v3.6.19, when I resize the window (to be larger or smaller), the HTMLPane reduces significantly in size. I have the same results using HTMLFlow. I've read a few threads in the forums regarding a like topic, but I have not come across a solution.
I've attached before and after screen shots.
I'm including a minimal test case.
This is strictly a FF issue as these browsers/revisions resize correctly: Safari v4.0.5, IE v8.0.76 or Chrome v14.0.835.
Thank you in advance.
Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-01-05/PowerEdition Deployment 2011-01-05)
I'm using HTMLPane as an iframe. In Firefox v3.6.19, when I resize the window (to be larger or smaller), the HTMLPane reduces significantly in size. I have the same results using HTMLFlow. I've read a few threads in the forums regarding a like topic, but I have not come across a solution.
I've attached before and after screen shots.
I'm including a minimal test case.
This is strictly a FF issue as these browsers/revisions resize correctly: Safari v4.0.5, IE v8.0.76 or Chrome v14.0.835.
Thank you in advance.
Code:
package com.avenue100.portal.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootLayoutPanel; import com.smartgwt.client.types.ContentsType; import com.smartgwt.client.widgets.HTMLPane; import com.smartgwt.client.widgets.layout.VLayout; /** * Module to illustrate the rendering problems using HTMLPane */ public class Portal implements EntryPoint { public void onModuleLoad() { // iframe final HTMLPane htmlPane = new HTMLPane(); htmlPane.setShowEdges(true); htmlPane.setContentsType(ContentsType.PAGE); htmlPane.setContentsURL("http://www.wikipedia.com/"); htmlPane.setRedrawOnResize(false); htmlPane.setWidth100(); htmlPane.setHeight100(); // layout VLayout layout = new VLayout(); layout.setWidth100(); layout.setHeight100(); layout.addMember(htmlPane); RootLayoutPanel.get().add(layout); } }
Comment