We have an Ext.Container (Ext JS 6.0.1 Modern) with a Scroller. We want to set the initial scroll position as a fraction of the current size. But we are not able to see how to accurately determine the current size.

Is there some event on the Container that will fire when the container has been fully displayed?

The situation is that we have 2 views of the same data, one concise, the other expanded. We want to be able to toggle between them and maintain the same relative position on the form.

We tried show and painted and neither gave us an accurate report, possibly because the contents of the Container are still being painted and so expanding the container.

Any thoughts on how to handle this?
Thanks