Ok, I tried it out a bit. For me, the y value is 0 on onComplete. Maybe
also just after initialization like when you do (haven't tested).
For me, the ExpandablesColumn also doesn't behave as expected when I do
expandItem(). The item isn't expanded and it doesn't move to the right
position. But when I do item.expanded = true, it does behave as expected.


2014-07-24 15:42 GMT+02:00 Sam Bull <[email protected]>:

> On ĵaŭ, 2014-07-24 at 15:01 +0200, Sam Segers wrote:
> > mapFromItem() given argument "undefined"
> > Suggests that either expandable.parent, expandable.x or expandable.y
> > is undefined or null (not 0). You could look into that.
>
> As I said, that warning appears even when the mapFromItem() call is
> nowhere in my code. It's coming from inside the toolkit somewhere. It's
> definitely not linked to the expandable variable, as I can remove the
> entire function and that warning still appears.
>
> So, I have that warning when opening the page. And, in addition to that,
> all expandable items report a y position of 0. The two issues may or may
> not be related, I'm really not sure.
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to