Fit screen

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Tong
Posts: 313
Joined: Fri Apr 13, 2012 9:30 pm

How to make elements that will fit to screen size of viewing device?

for example i have map that should be in 100% screen size fir on devices with different resolution
Markku
Posts: 4
Joined: Sun Oct 30, 2011 10:52 am

Hi

I have similar type of problem; I am trying to position and fit properly map element, which is opened from the bottom of the browser view port. I have not been able to find a resolution to keep close button located in the top of the map visible, if user has selected view port smaller than the height of the map.

Are you Hopki able to suggest anything?

If there would be a placeholder to point $top - $left, that could give possibility to

Mouse Click => Change Relative Position => Offset X/Y (/Limit X/Y): -1000/0/ $top/ $left => Always be within visible area - does it make any sense?

Now what I did was that I added scrollbars to html in case screen is smaller than planned, but...

br Markku
User avatar
Hopki
Gnome
Posts: 13026
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Markku,
These are functions that will be in version 5.x which is due for release some time next year, date to be confirmed.
For the moment you could try different anchor positions for the map so always visible, also try adding a change element scale button so if the map falls of the screen click the button to change the scale of the map to say X/Y = 0.5.
This would reduce the size be half.
If the map was anchored in such a way so always show the scale and close button this should not cause a problem to the viewer.
However as said this is being addressed in the next version.
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