[Project_owners] how to align elements in richlistbox

Neil neil at parkwaycc.co.uk
Tue Nov 11 02:41:56 PST 2008


joe ertaba wrote:

> Is there any way to align elements in different richlistitems?
>
> <richlistbox>
>   <richlistitem>
>    <label value="some 1"/>
>    <label value="some 2"/>
>   </richlistitem>
>   <richlistitem>
>    <label value="something 1"/>
>    <label value="something 2"/>
>   </richlistitem>
> </richlistbox>
>
> I think I should use grid element, but I cant figure out how to apply it.

I think you can do it with some CSS:
.rows { display: -moz-grid-group; }
.row { display: -moz-grid-line; }
<grid>
  <columns><column/><column/></columns>
  <richlistbox class="rows">
    <richlistitem class="row">
etc.


More information about the Project_owners mailing list