Open cleidigh opened 4 years ago
Sorry to clutter this issue with my comment, but I think this is extremely useful and helpful. What do you think we could do to make the work you're doing more up front? Adding this to the official DTN? Or maybe even creating a dedicated subdomain just for Add-ons documentation?
@Alecaddd love the avatar! thanks, I am hoping to be able to release for this weekend. I'm still wrestling with some accuracy of some compatibility reports. I don't want those to be in crappy shape.
<listbox>
XUL element and its related subelements have been deprecated.<richlistbox>
, is the most basic alternative.<tree>
can also be used, it manages column width, better , but can require extra logic for views (a simple content fewest built-in)A Gist here shows two simple lists XUL , one using richlistbox the other tree. https://gist.github.com/cleidigh/4db62350b3b70fdbed799800bb17afc4
A good example extension using richlistbox is TbSync https://addons.thunderbird.net/en-US/thunderbird/addon/tbsync/?src=search
xpiLib code pointer: https://github.com/cleidigh/ThunderKdB/blob/dd6f7fcf23f4761006a58b5321a7ecad8dc7d1b3/xall/x68/986258-dav-4-tbsync/src/content/manager/createAccount.xul#L25
Full extension: https://github.com/cleidigh/ThunderKdB/tree/master/xall/x68/773590-tbsync