← Back to team overview

ubuntu-phone team mailing list archive

Re: Can't set value of Label inside

 

On mer, 2014-07-23 at 13:47 +0200, Michael Zanetti wrote:
> a) By the time Component.onCompleted is called. the PopupUtils.open() hasn't 
> been called yet. So the popover doesn't exist

Ah, didn't realise the inner component wasn't even constructed until
PopupUtils.open().

> Solution: create a property somewhere (outside the Popover Component), like 
> this:

Unfortunately, this is what I was hinting at when I said the label is
unable to access anything outside the component. I tried exactly this,
and the label was unable to reference any property outside of the
popover.

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References