I've just discovered a day ago that the Carbon API in Tiger has
support for alternating row color through the new function
DataBrowserChangeAttributes() and the attribute
kDataBrowserAttributeListViewAlternatingRowColors (I'm a newbie to
DataBrowser). Now, I immediately tried using it and at first sight it
also worked very well, but....
The DataBrowser draws nothing for empty rows. That is, if the
DataBrowsers height is large enough to contain all items plus some
more space. Then the space is just not drawn. The strange thing
though, is that if you also sets the attribute
kDataBrowserAttributeListViewDrawColumnDividers to draw vertical
lines then they are always drawn to the bottom of the DataBrowser
(still with nothing painted in the empty space).
Now, is this feature or a bug I should file in radar?
It also seems strange to me, that the attribute
kDataBrowserAttributeListViewDrawColumnDividers is added to draw
vertical lines in the databrowser but an attribute for drawing
horizontal lines are not!!!
Cheers,
Lars Holm Nielsen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden