Dear Matthew,

thanks for your answer. The flex option does the trick.

One question to the Iframe. In IE 6 I get a vertical scrollbar at the bottom, 
in FF 3 there's no scrollbar at the bottom. Is this an IE specific issue? The 
scrollbar also appears if I open the Iframe demo 
(http://demo.qooxdoo.org/current/demobrowser/index.html#widget-Iframe.html). Is 
it possible to get rid of the scrollbar in IE?


With kind regards,
Mario

-----Ursprüngliche Nachricht-----
Von: Matthew Gregory [mailto:[email protected]] 
Gesendet: Dienstag, 10. März 2009 12:33
An: [email protected]
Betreff: Re: [qooxdoo-devel] Usage of IFrame in VBox Composite

Have you tried this:
   vGlobal.add(iFrame, {flex:1});

Freimann, Mario wrote:
> 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


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to