Re: Problem with browser element

reverendlinux <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Organization http://groups.google.com
Message-ID <[email protected]>
On May 28, 3:08 pm, Neil <[email protected]> wrote:
> reverendlinux wrote:
> >this code does not:
>
> ><dialog
> >    title="Browser"
> >    onload="window.resizeTo(screen.availWidth,screen.availHeight);"
> >    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
> >    style="background-color: white;">
>
> >        <vbox>
> >         <browser src="http://www.mozilla.org" type="content" flex="1" />
> >        </vbox>
>
> ></dialog>
>
> Try it with <vbox flex="1">.
>
> --
> Warning: May contain traces of nuts.

Okay, that worked.  So why is flex="1" needed in both elements?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.