CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Placing a JQMLabel inside JQMImage

by Omega8 » 18 Jan 2018 14:15

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
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 19 Jan 2018 10:57

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Omega8 » 19 Jan 2018 11:34

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
You do not have the required permissions to view the files attached to this post.
Omega8
 
Posts: 87
Joined: 18 Mar 2016 22:42

by Alexander Bulei » 23 Jan 2018 10:44

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMImage

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.