amitsarangi / mt4j

Automatically exported from code.google.com/p/mt4j
GNU General Public License v2.0
0 stars 0 forks source link

Disabled child still be selected ! #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. add more children into ListCell, one is the background and not fullfilled, 
2. and set listcell.setComposite(false)
3.when drag on the backgound child, nothing happend!

I use v0.98, and I think the drag gesture should work as normal !

when I modified MTComponent.pickRecursive(), changed some lines with  "&& 
enabled" and "&& child.isEnabled()", It worked!

Is this way correct!

Original issue reported on code.google.com by kavin.fy...@gmail.com on 30 Jul 2011 at 5:25

GoogleCodeExporter commented 9 years ago
more:

I set the backgrounded child disabled by setDisabled(true)
and add ten more listcell into MTList to make sure the MTList can be dragged!

Original comment by kavin.fy...@gmail.com on 30 Jul 2011 at 5:38