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

Maurice Amsellem commented on FLEX-34107:
-----------------------------------------

After debugging for hours, my conclusions are the following:
- all coordinates and computations are fine,
- renderers are displayed shifted by 5 pixels upward on *low* densities from 
their computed coordinates. You can check that by selecting the row, you will 
see that the selection rect is higher than it should be.
- the separators disappear because the next renderer background masks the 
separator (because of the shift).
Attached screenshot showing the 5 pixel shift (top separator in red, bottom 
separator in blue, gap=0)

Since the coordinates are OK, then it must be the transform matrix.

I checked the transform.concatenatedMatrix or a renderer on high and low 
density:

high density:  a=1 b=0 c=0 d=1  (this is the identity matrix)
low density: a=5 b=0 c=0 d=5 => scaled matrix.

Note sure yet how this works, but my intuition is that the matrix is the reason 
for the error.
Thanks for catching that. 



> 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