RE: resizing after adding a child

2020-09-03 Thread Yishay Weiss
Hi Nicolas, Can you please create a GitHub issue and attach your test project? Thanks, Yishay From: tranquiliste<mailto:nicolas.agut...@gmail.com> Sent: Wednesday, September 2, 2020 9:18 PM To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: Re: resizing after ad

Re: resizing after adding a child

2020-09-02 Thread tranquiliste
No worries Carlos, thanks for looking at it. I will wait to see if someone has an idea Nicolas - Nicolas -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: resizing after adding a child

2020-09-01 Thread Carlos Rovira
Hi Nicolas, sorry, I was thinking you talked about Jewel, so didn't understand the references to addChild. Now I understand since you're using MXRoyale. I must say I don't know much about emulation. Hope others here like Alex, Yishay, Piotr, Alina, etc... could give you support on that. Sorry ca

Re: resizing after adding a child

2020-09-01 Thread Nicolas Aguttes
Hello Carlos, Here a small project so you understand what I mean. Basically it display a button to add 4 labels to the dom. By default labels are added but parent DOM size is not modified, so you can view the labels only by scrolling If you uncomment the line 33 of the Ecran2Class, you get the beh

Re: resizing after adding a child

2020-09-01 Thread Carlos Rovira
Hi Nicolas, sorry but still can't figure it out. For example "addchild" does not exist in Royale, maybe you mean "addElement", but that is used in almost all Royale components. I think the best is to create an example with the minimum code that shows the problem, so I can understand what you're tr

Re: resizing after adding a child

2020-08-31 Thread Nicolas Aguttes
Hello Carlos, Sorry for the confusion. In fact in my main view there are different sub views (mxml) that are empty when the main view is first loaded, so it means that this main view has a calculated height (by Royale) which is very low, then when we complete the different subviews, using the adch

Re: resizing after adding a child

2020-08-31 Thread Carlos Rovira
Hi Nicolas, Your question is confusing to me since you talk about "add data", but then talk about the "addChild" method too (I guess from flex). And after adding that data, the visual elements calculate sizes. If for example, I'm loading AMF(RemoteObject) or REST data (HTTPService), I use the "onR