Here are 2 solutions
first one is yours, but It still have problem :( I cant figure out why?

<grid>
 <columns><column flex="1"/><column flex="1"/></columns>
 <richlistbox style="display:-moz-grid-group; -moz-box-orient: vertical;" >
  <richlistitem style="display:-moz-grid-line; -moz-box-orient:
horizontal;">
     <label value="1"/>
     <label value="2"/>
  </richlistitem>
  <richlistitem style="display:-moz-grid-line; -moz-box-orient:
horizontal;">
     <label value="3"/>
     <label value="4"/>
  </richlistitem>
 </richlistbox>
</grid>

This one seems to work but richlistitem is not directly a child !

<richlistbox>
 <grid>
   <columns ><column flex="1"/><column flex="1"/></columns>
   <rows>
     <richlistitem style="display:-moz-grid-line; -moz-box-orient:
horizontal">
       <label value="1"/>
       <label value="2"/>
     </richlistitem>
     <richlistitem style="display:-moz-grid-line; -moz-box-orient:
horizontal">
       <label value="3"/>
       <label value="4"/>
     </richlistitem>
   </rows>
 </grid>
</richlistbox>

Any idea ?

On Tue, Nov 11, 2008 at 6:50 PM, joe ertaba <[EMAIL PROTECTED]> wrote:

>
>
> On Tue, Nov 11, 2008 at 5:41 PM, Neil Deakin <[EMAIL PROTECTED]> wrote:
>
>> joe ertaba wrote:
>>
>>> Hi
>>>
>>> I have found a solution , thanks both of you
>>>
>>> <richlistbox>
>>>  <grid>
>>>    <columns ><column flex="1"/><column flex="1"/></columns>
>>>    <rows>
>>>      <richlistitem style="display:-moz-grid-line; -moz-box-orient:
>>> horizontal">
>>>        <label value="1"/>
>>>        <label value="2"/>
>>>      </richlistitem>
>>>      <richlistitem style="display:-moz-grid-line; -moz-box-orient:
>>> horizontal">
>>>        <label value="3"/>
>>>        <label value="4"/>
>>>      </richlistitem>
>>>    </rows>
>>>  </grid>
>>> </richlistbox>
>>>
>>>  As richlistitem has to be a direct child of richlistbox, that won't
>> actually work.
>>
>
> But it seem that it works!
> I can select,... like normal
>
>
>>
>>
>> _______________________________________________
>> Project_owners mailing list
>> [email protected]
>> https://www.mozdev.org/mailman/listinfo/project_owners
>>
>
>
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to