Image with text adapting screen size

Q&A about the latest versions
Post Reply
dizzz
Posts: 33
Joined: Mon Mar 11, 2019 3:36 pm

Hi, I m trying to set a hotspot that opens an image with a corresponding text field below. I m setting image width to 100% but when I m positioning the text below, it never anchors the image. All I want to do, is when the users changes the browser size, the text field follows the size of the image accordingly.
I have attached my project as well, I found a partial solution by anchoring external image "down" but when the width is small, it all goes down.
There must be a simpler solution! panotour was having this by default

thank you in advance
dizzz
Attachments
test_pano.zip
(643.39 KiB) Downloaded 101 times
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi dizzz,
Using percentage is not a good idea if you want text as you can not lock position.
You are better off making it a fixed size and use logic blocks to change its size or scale.
Please see this webinar video: https://ggnome.com/gg_webinars/skin-edi ... ve-design/
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply