Container in container

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
zap
Posts: 391
Joined: Thu May 29, 2008 12:13 pm
Contact:

Hi I find out some problems positioning skin elements correctly when a container is within a container.
The elements aren't positioned correctly when switching from normal to fullscreen view.
These container could be useful to hide e.g. a multiple menuparts of a menu.

Is this a known bug or are there any workarounds possible.

Cheers
360 Panorama Creators http://luxmap.com
Google Trusted Photographer
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Zap
I have just tried making a ggsk file with elements in containers within a container and found all was ok.
Can you describe what you have built and what you are getting?
Kind regards
Hopki :)
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/
User avatar
zap
Posts: 391
Joined: Thu May 29, 2008 12:13 pm
Contact:

Hi Hopki
I'll post a skin
but in the meanwhile you could try to place an element with anchor centered and center the element

When in the container and going afterwards fullscreen, the position is lost and not centered but absolute (or the like)


cheers
360 Panorama Creators http://luxmap.com
Google Trusted Photographer
DSilver
Posts: 12
Joined: Fri Jul 24, 2009 7:50 pm

i have the same problems... i have spent roughly 15 hours trying to do a very simple a basic skin.

I am using a rectangle 1920 long (so that HD users can see my skin) as a container/parent item. The scene pictures are placed within that rectangle as a navigation, yet i cannot get the scenes to fit on screen in the centre, same with text....
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi
I have tried all sorts and can not get the same result?

I placed a container in the skin, size 420 x 220 and anchored centre.
Then placed two rectangles one above the other in the centre.

Both rectangles are anchored top left. When I open the pano the two rectangles are in the centre where they should be. When going full screen they are still in the middle.

Changing the anchor position to centre on the rectangles does make them move off centre, but that’s to be expected. They are also in the same position when going full screen, off centre.

However if I anchor the container top left, then yes it moves the rectangles, and yes they move even more when going full screen, but again that’s to be expected as now its position is relative to the side of the pano.

Please post your skin or an example as I can not reproduce the fault. :!:
Kind regards
Hopki :)
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