Page 1 of 1

Placing a JQMLabel inside JQMImage

PostPosted: 18 Jan 2018 14:15
by Omega8
I'm trying to place an JQMLabel inside an JQMImage. In the desktop version this is very straight forward. How is this done in Mobile version. ? The moment I set align to none of the JQMLabel I can't get it to place anywhere in the image.

Thx

Re: Placing a JQMLabel inside JQMImage

PostPosted: 19 Jan 2018 10:57
by Alexander Bulei
Hi Omega8,

The moment I set align to none of the JQMLabel I can't get it to place anywhere in the image.


Why not?

Best Regards.

Re: Placing a JQMLabel inside JQMImage

PostPosted: 19 Jan 2018 11:34
by Omega8
As you can see the JQMLabel is a child of JQMImage and yet is not inside.

How can I place a label inside an image and have it always there no matter where the image floats?

Thanks

Re: Placing a JQMLabel inside JQMImage

PostPosted: 23 Jan 2018 10:44
by Alexander Bulei
Hi Omega8,

The image tag, can't have children inside..so in this case, your label is rendered outside.
Just wrap the image and label with simple region, and set the position of label.

Best Regards.