Hello,
Currently, I have a custom 'control bar' at the bottom of the tour with several child buttons e.g. zoom in, zoom out, auto-rotation stop/start, hide/show graphics.
The other buttons in the control bar depend on whether mobile or desktop is being used to view the tour e.g. full screen button (desktop only), VR button (mobile only).
There is a rectangle element which serves as a background to the buttons and is a child of the 'control bar container'.
I would like to automatically resize the width of the background rectangle, depending on how many buttons are displaying.
Any ideas how to do this?
Here is a link to the tour showing the control bar: https://www.tourview.com.au/p2vrtest/au ... ralis.html
Thanks very much!
Make rectangle element grow and shrink automatically
Regards,
David R
David R
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi David,
The next webinar will have a hint on how to do this.
It does not cover this specifically but you will understand what you will need to do to make this work.
The skin needs to know which buttons will be visible and then size the background.
viewtopic.php?f=6&t=15433
Regards,
The next webinar will have a hint on how to do this.
It does not cover this specifically but you will understand what you will need to do to make this work.
The skin needs to know which buttons will be visible and then size the background.
viewtopic.php?f=6&t=15433
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/
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/