I am not because I would like them to be dynamically sized. The only width I believe I have set is on the renderer itself I set the minWidth to 150.
Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Tue, Oct 25, 2016 at 2:22 PM, Alex Harui [via Apache Flex Users] < [email protected]> wrote: > Are you setting columnWidth? If not it could get recalculated and if a > renderer reports a different size now that it is full of content, you > might get different results. > > -Alex > > On 10/25/16, 11:04 AM, "Kyle McKnight" <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=13929&i=0>> wrote: > > >I have a List, ParentList, that has a VerticalLayout. Within ParentList > is > >another List, ChildList with a TileLayout. > > > >During points in my application, ParentList gets updated which then also > >means ChildList gets updated. What is weird is that the same ChildList > >will > >show different sizes of the children randomly when I leave and come back > >to > >the the page. > > > >So let's say I set the selected index on ParentList to index 5. ChildList > >gets updated with a subset of data, arbitrarily DataA...DataN. Each > >renderer in ChildList will be width X. But then I set ParentList to index > >6 > >and then later back to 5. So viewing the same set of data, DataA...DataN, > >yet this time the TileLayout will have the children be width Z instead of > >the same width X it was before. > > > >Sorry if that's confusing lol. Basically the same TileLayout with the > same > >data will size taht data differently. > > > >So this leads me to wonder if renderers are reused even if they are > >contained withing different components as long as they use the same Class > >of renderer? Is this happening because when the data is set on the > >ChildList renderer's I'm not resetting everything to some default state? > > > >Kyle McKnight > >Senior UI Engineer - Accesso > >602.515.1444 (M) > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://apache-flex-users.2333346.n4.nabble.com/Do- > ItemRenderer-s-get-reused-across-different-components-tp13928p13929.html > To unsubscribe from Do ItemRenderer's get reused across different > components?, click here > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=13928&code=a2FtY2tuaWdAZ21haWwuY29tfDEzOTI4fC0xNTg3MjQ1NTM4> > . > NAML > <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Do-ItemRenderer-s-get-reused-across-different-components-tp13928p13931.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
