You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by chris_flex <ck...@christiankiefer.de> on 2018/07/30 11:22:07 UTC
RichText gets bold in list when item renderer reloaded in Air App
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: http://apache-flex-users.2333346.n4.nabble.com/
Re: RichText gets bold in list when item renderer reloaded in Air App
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <ah...@adobe.com.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...@christiankiefer.de> 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&data=02%7C01%7Caharui%40adobe.com%7C7d241049c65640f8e51708d5f60eb1de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636685465358273112&sdata=J1GXNmhZBIVPzpXckftIdPrrSx9NNNil0NgSZSPK8Ss%3D&reserved=0
Re: RichText gets bold in list when item renderer reloaded in Air App
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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...@christiankiefer.de> 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&data=02%7C01%7Caharui%40adobe.com%7C7d241049c65640f8e51708d5f60eb1de%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636685465358273112&sdata=J1GXNmhZBIVPzpXckftIdPrrSx9NNNil0NgSZSPK8Ss%3D&reserved=0