git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RichText gets bold in list when item renderer reloaded in Air App


I also just remembered that I've seen a few cases where someone's custom renderers manipulate positions and visibility.  Then two renderers are created for a data item and one overlays the other.  If the backgrounds are transparent (as they usually are) then the text is one top of another copy of the text and it looks bold without actually being bold.

HTH,
-Alex

On 7/30/18, 8:11 AM, "Alex Harui" <aharui@xxxxxxxxx.INVALID> wrote:

    How many items in the list?  If not too many, you could set useVirtualLayout=false then it won't recycle renderers.
    
    -Alex
    
    On 7/30/18, 4:22 AM, "chris_flex" <ck@xxxxxxxxxxxxxxxxxx> wrote:
    
        I am using a list with an itemrenderers that contains RichText components.
        The list has a horizontal layout and it uses pageScrolling. When the
        itemrederer is displayed fpor the first time, the RichText is "normal", the
        from the second time the text is always "bold"... 
        
        Does anyone has an idea why this could happen and how to fix it?
        
        
        
        --
        Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C7d241049c65640f8e51708d5f60eb1de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636685465358273112&amp;sdata=J1GXNmhZBIVPzpXckftIdPrrSx9NNNil0NgSZSPK8Ss%3D&amp;reserved=0