06-05-2011 06:45 AM
You can disable a List (list.enabled = false), but it gives it an uggly dark grey color and the list items are hardly readible anymore. Is there a way you can lock or disable a list (so disabling selecting and scrolling) in another way?
Solved! Go to Solution.
06-05-2011 07:03 AM
I can think of a few approaches.
One would be to change the skin (if you're using the default AlternatingCellRenderer), though I don't know for sure whether enabled=false merely changes the state of each cell, or does something else (in which case that may not work).
You could set selection mode to NONE (which would remove your selections, mostly likely) and set scrollable=false.
You could get the List bounds and draw your own Sprite above the List, with a gray rectangle of the desired colour and alpha level, and intercept the MOUSE_DOWN event so the List can't hear them.
06-05-2011 07:30 AM