Floating Menu Button

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

I see that you can change the icon for the open and close menu button, but can you change it's position?
User avatar
Hopki
Gnome
Posts: 13448
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
It will depend on what skin you are referring to.
If the design is for a button to be set in a certain position, and many elements are child elements of it then it may not be practical to do so.
But if it's a button without any child elements then it should be. simple case of position and anchoring.
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/
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

In the VR skin, the floating menu has a show and close button.
Their positions is fixed… and do not fit my design, way too low and centered.
Is there a way to control that?
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

I found (sort of) a solution by adding an action to the _close_skin object, to move it to the right location.
It's a trial an error solution, but it's working.
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

What would be the initial positions and anchors of the open and close buttons in the floating menu in the VR skin?
As they are fixed, having those numbers would facilitate repositionning.

X is center, so 0… but where is Y?
User avatar
Hopki
Gnome
Posts: 13448
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Andre,
If you look in the built-in VR skin you will see the two containers _open_skin and _close_skin.
The positions of these are fixed and cannot be adjusted, however you can move the element within the containers.
For example the rectangle open_skin, can be moved, X: -200 and Y: 200px.
This will move the open_skin icon to the left and down.
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/
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

Just as I told you earlier, but what is the initial position of the close button, the one that cannot be moved?
You centered it in X, so X is 0.
But what is the Y's position?

By replacing it in the skin with an icon, the Y's position doesn’t align with the other icons on the same line.
Even with the same anchor and coordinates… it shifts in Y.
Post Reply