Pierre Hébert

Pierre Hébert

var p=c.addPanel(0,0,100,100);

p.getContainer().getCellWidth()

Returns 0

]]>

3 Commentsto Pierre Hébert

  1. Anonymous says:

    < ![CDATA[

    Thanks a lot for script

    ]]>

  2. Anonymous says:

    < ![CDATA[

    This is a very old issue. It’s happening because in Android the measure/layout operations are done later. When creating an object its view has no size, and as a consequence a container will report a zero cell size.


    The good news is that with the new architecture I may be able to implement a workaround.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Pierre Hébert


    sounds good. Otherwise I’ll keep the timeout workaround I’m using right now.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *