Closed Bug 235337 Opened 20 years ago Closed 20 years ago

Support "odd" and "even" properties for tree rows

Categories

(Core :: XUL, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

References

Details

Attachments

(2 files)

Some authors may want to style trees with alternating background colors on odd
and even rows.  We can support this easily by adding 'odd' and 'even' properties
that can be used in treerow selectors.
Attached patch patchSplinter Review
Attachment #142065 - Flags: superreview?(dbaron)
Attachment #142065 - Flags: review?(varga)
Attached file testcase
Just a quick example (copied from one of the tests in the tree).
Comment on attachment 142065 [details] [diff] [review]
patch

r=varga
Attachment #142065 - Flags: review?(varga) → review+
this would be very nice. It's a very simple patch and it's already got review.
Just need sr=
Attachment #142065 - Flags: superreview?(dbaron) → superreview?(bzbarsky)
Comment on attachment 142065 [details] [diff] [review]
patch

sr=bzbarky
Attachment #142065 - Flags: superreview?(bzbarsky) → superreview+
could someone please check this one in. we have both r= and sr=
checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: