remove item from scrolledlist

aka, set order = 1 means anything under 1 will be drawn under the chatlist, and thing over 1 will be above and blocking the chatlist

Try mine :
discourse.panda3d.org/viewtopic.php?t=3502

nice code = I’ll check it out.

thx. I added this bit of code after I add an item and the list now sorts. (patterned after some of the code i saw in your sort method)

		# sort the list and refresh
			buttonsTexts = [(b['text'],b) for b in base.lstChar["items"]] 
			buttonsTexts.sort()
			base.lstChar["items"]=[bt[1] for bt in buttonsTexts]
			x = 0
			for i in base.lstChar["items"]:
				Zpos=(-.7-x)*.2
				base.lstChar["items"][x].setPos(.02,0,Zpos)
				x=x+1
			base.lstChar.refresh()

Will study your scroll list control more when I have a bit of time. Looks awesome!