[ 
https://issues.apache.org/jira/browse/FLEX-34107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909554#comment-13909554
 ] 

Piotr Zarzycki commented on FLEX-34107:
---------------------------------------

Maurice I have debugged measure method in Icon and Label item renderer and 
found some difference in the returned values. 

Everything was checked on iPhone simulator. In measure method of 
LabelItemRenderer we have got line

var verticalPadding:Number = getStyle("paddingTop") + 
getStyle("paddingBottom"); == 32 so paddingTop is default 16.

In IconItemRenderer we have got similar line:

var paddingHeight:Number = getStyle("paddingTop") + getStyle("paddingBottom"); 
== 16 so paddingTop is 8 and paddingBottom is 8.

I have setted paddingTop and paddingBottom for IconItemRenderer to 16 and now 
separators appeared. 
Maybe this will help in some way. 

Piotr





> IconItemRenderer separators dissapear on iPad 2 iOS6
> ----------------------------------------------------
>
>                 Key: FLEX-34107
>                 URL: https://issues.apache.org/jira/browse/FLEX-34107
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.12.0
>         Environment: iOS6
>            Reporter: Piotr Zarzycki
>            Assignee: Maurice Amsellem
>         Attachments: TestSparkList.zip
>
>
> I have two spark List one with IconItemRenderer and the second with 
> LabelItemRenderer. 
> List with IconItemRenderer doesn't display line separators on iPad 2 iOS6. It 
> also occurs on iPhone and iPad Intellij IDEA emulators. 
> Screens from iPhone emulator: 
> List with IconItemRenderer: 
> http://images.devs-on.net/Image/BrIaFWuM0ZUleDJY-Obszar.png
> List with LabeItemRenderer: 
> http://images.devs-on.net/Image/xc4qWv4cdxzcdrLX-Obszar.png



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to