Badcreature / mad-components

Automatically exported from code.google.com/p/mad-components
0 stars 0 forks source link

Some rows not clickable in UILongList #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set data of UILongList with costumRenderers
2. Scroll down
3. Click last row

What is the expected output? What do you see instead?
The click dispatches an event

What version of the product are you using? On what operating system?
ExtendedMadness (version 0.1.5),  Mac OS X

Please provide any additional information below.
It looks like var startIndex:int = Math.floor(-_slider.y/_cellHeight); in 
sliderMoved (UILongList) is off, because illuminate() in UIList fails in 
_pressedCell < _count. Somehow _count is bigger.

Original issue reported on code.google.com by a...@bureaubambi.nl on 25 Jun 2012 at 12:49

GoogleCodeExporter commented 8 years ago
Oops, I meant custom renderers instead of costumRenderers, and of course  
_pressedCell is bigger. Not _count.

Original comment by a...@bureaubambi.nl on 25 Jun 2012 at 12:52

GoogleCodeExporter commented 8 years ago
I think the _cellHeight calculation is not correct. Could that be?

Original comment by a...@bureaubambi.nl on 26 Jun 2012 at 11:32

GoogleCodeExporter commented 8 years ago
And sometimes not all cells are rendered. Could that be the same problem?

Original comment by a...@bureaubambi.nl on 28 Jun 2012 at 7:58

GoogleCodeExporter commented 8 years ago

Original comment by doc.andr...@gmail.com on 12 Jul 2012 at 11:33