On Apr 12, 9:29 am, Brian King <[EMAIL PROTECTED]> wrote:
> [Cross-posting : Setting follow-up to mozilla.dev.tech.xul]
>
> I am working on a XULRunner based project, and one of the most prominent
> UI features is a specific type of listbox.
>
> The requirements of this listbox are:
> - a header that does not scroll with the items
> - rich XUL content inside (icons, description and link in one cell,
> button in another)
> - subheading rows allowing to expand/collapse items (one level only,
> have custom impl)
> - columns that resize based on window (or container) size
>
> 2) XUL Listbox
> - all rows are the height of the tallest row
> - columns only size as desired with fixed pixel widths, otherwise
> column(s) with wide content squeezes out the others.
>
> 3) XUL Richlistbox
> - no concept of a header
> - columns only size as desired with fixed pixel widths, otherwise column
> with wide content squeezes out the others.
> There is a patch inhttps://bugzilla.mozilla.org/show_bug.cgi?id=367843
> that looks encouraging because it adds header and column support to
> richlistbox, but it seems to just mimic listbox approach. It might fix
> the issue of all rows being the same height, but probably not the column
> sizing issues.
>

did you try using <listcol flex="1" /> in your <listbox> tests,
perhaps varying the flex? The <richlistbox> with the patch seems your
best bet.

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to