drflash / mad-components

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

UIList lines = false still draws lines #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a UIList, like <list autoLayout="true" id="wallList"  alignH="left" 
alignV="fill" lines="false" mask="true">
2. Set data to list
3.

What is the expected output? What do you see instead?
Expected is no divider lines. I do see divider lines

What version of the product are you using? On what operating system?
ExtendedMadnessLib0_1_5, Mac OS X

Please provide any additional information below.
Looks like drawSimpleCell in UIList is creating a line:
_slider.graphics.beginFill(_colour);
_slider.graphics.drawRect(0, position, _width, 1);

Original issue reported on code.google.com by a...@bureaubambi.nl on 26 Jun 2012 at 10:26

GoogleCodeExporter commented 9 years ago
lines="true" does something else.  It puts vertical lines between custom 
renderer parts.  To accomplish what you want - you need to extend UIList, 
override drawSimpleCell - and UI.extend() MadComponents to add the new version 
of List.

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

GoogleCodeExporter commented 9 years ago
Ah I misunderstood then. I already changed the drawSimpleCell. But I will do it 
by extending UILongList. App is now waiting to be approved by Apple.

Thanks,

AP

Original comment by a...@bureaubambi.nl on 12 Jul 2012 at 11:48