Export to GitHub

mad-components - issue #31

UIList lines = false still draws lines


Posted on Jun 26, 2012 by Quick Bird

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);

Comment #1

Posted on Jul 12, 2012 by Grumpy Bird

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.

Comment #2

Posted on Jul 12, 2012 by Quick Bird

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

Status: Done

Labels:
Type-Defect Priority-Medium