Re: listbox elements

Rick Marshall <[email protected]> Mon, 14 Mar 2005 09:31:02 +1100
Newsgroups gmane.comp.lang.xul.general
Organization Zenucom Pty Ltd
Message-ID <[email protected]>
you might also want to put some 'flex="1"' attributes around the place. 
often the browsers don't give a box any space unless it's been told how 
to fill the space - with width, height, rows, flex, etc

rick

Martin Kessler wrote:

> Hello,
>
> I´m rather new in XUL and I have a small question about the examples 
> in the XUL-Tutorial. When I´m trying to run the examples for 
> "tabboxes" and so on, everything runs fine.
>
> But the examples about the tags "description" and "listbox" (what is 
> very important for me) don´t run at all. No output is shown. Even in 
> my own applications with this tags no output is shown. I´ve also tried 
> it on another pc with absolutely the same result.
>
> This is the source that doesn´t work:
> <?xml version="1.0"?>
> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
> <window id="example-window" title="Example 2.5.1"
>        xmlns:html="http://www.w3.org/1999/xhtml"
>        
> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
> <listbox>
>  <listitem label="Butter Pecan"/>
>  <listitem label="Chocolate Chip"/>
>  <listitem label="Raspberry Ripple"/>
>  <listitem label="Squash Swirl"/>
> </listbox>
> </window>
>
> Maybe one of you can help me, that would be very nice. I´m looking 
> forward for any answer.
>
> bye
> Martin Kessler
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> xul-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>
> !DSPAM:423461e7256968695618695!
>
rjm.vcf (text/x-vcard, 146 B)
begin:vcard
fn:Rick  Marshall
n:Marshall;Rick 
email;internet:[email protected]
tel;cell:+61 411 287 530
x-mozilla-html:TRUE
version:2.1
end:vcard