Hallo,
I have a VBox with two elements. The upper element is a Composite. It contains
an image. The lower element contains an IFrame widget, wich opens an CGI
application. The website the CGI application renders has a scroll bar on the
right.
My question is: How can the lower element, the IFrame, take all the remainig
space of the website? If I just add the IFrame it only has a height of about
50px. If I add it with a height setting of 100% it takes all the space. But the
scroll bar on the right is partly overlaped at the bottom. It seems 100% is too
much, so the IFrame is going out of the browser.
Sample code:
var scroll = new qx.ui.container.Scroll();
this.applicationDoc.add( scroll, {edge: 0} );
var boxVGlobal = new qx.ui.layout.VBox();
var vGlobal = new qx.ui.container.Composite( boxVGlobal );
scroll.add( vGlobal );
var hHead = new qx.ui.container.Composite( ... );
vGlobal.add( hHead );
var iFrame = new qx.ui.embed.Iframe("http://mycgiapp.exe");
vGlobal.add(iFrame, {height:"100%"});
With kind regards,
Mario
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel