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 adchild method,  the main view keeps it
initial calculated height and full page can't be viewed whithout using the
scroll bar which is annoying .
Hence my question: is it possible to recalculate the size of the container?

Hope this is clearer, if not I can past a code example which illustrate
what I meant

Nicolas

Le lun. 31 août 2020 à 20:28, Carlos Rovira <carlosrov...@apache.org> a
écrit :

> 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 "onResult" event handler to manage any operation I could need at
> that time.
>
> El lun., 31 ago. 2020 a las 18:21, tranquiliste (<
> nicolas.agut...@gmail.com>) escribió:
>
>> Hello all,
>>
>> I have a question. In our application there are cases where we add data
>> (addchild method) after sizes of the elements have been calculated and in
>> that case I would like to have the size to be recalculated.
>>
>> Is there a way (beads) to do that?
>>
>> Thanks
>> Nicolas
>>
>>
>>
>> -----
>> Nicolas
>> --
>> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

Reply via email to