Pierre Hébert
Pierre Hébert
var p=c.addPanel(0,0,100,100);
p.getContainer().getCellWidth()
Returns 0
]]>« Question with the last updated of lightning launcher i was reading the change log you can use more than one live… (Previous Post)
(Next Post) Multitool v2.9b5 »
< ![CDATA[
Thanks a lot for script
]]>
< ![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.
]]>
< ![CDATA[
Pierre Hébert
sounds good. Otherwise I’ll keep the timeout workaround I’m using right now.
]]>