Creating child widgets in photon1.14

I’m tryng to migrate from photon1.13 to photon1.14 widgets and I have
this problem:
I used to make widget my applications creating widgets inside not
compound widgets (a PtLabel inside a PtButton). In photon1.13 that was
posible. In photon1.14 I was trying but I couldn’t. Same idea.

Thank.


Leandro Medina
(Ingdesi Group)

Leandro Medina <lmedina@ingdesi.com> wrote:

I’m tryng to migrate from photon1.13 to photon1.14 widgets and I have
this problem:
I used to make widget my applications creating widgets inside not
compound widgets (a PtLabel inside a PtButton). In photon1.13 that was
posible. In photon1.14 I was trying but I couldn’t. Same idea.

Thank.

This probably isn’t the best group to be asking this in. The QNX RTP
applies to photon 2 developement, not 1.14.

But anyway…

A PtButton is not a compound widget and you should not try to create children
inside it. Nevertheless, the widget should still be created, only it will be
redirected to the PtButton’s parent so it will appear as a brother of the
PtButton, not a child. What is happening? Is the PtLabel not being
created at all?