Resize controller size to fit on smaller screens

Q&A about the latest versions
Post Reply
obywatelgc
Posts: 4
Joined: Fri Dec 19, 2014 11:14 am

Hi,

Is there a chance to resize the controller according to screen size? Let's assume there is a controller at the bottom of the panorama. There are few buttons more and a logo so the whole thing takes quite a lot of space. When I browse the panorama on a mobile phone I can only see the central part of the navigation controller. Buttons which are closer to left/right edges are cropped/not visible. Is there a chance that the whole navigation bar will resize itself to adjust to current screen width?

Thx
Greg
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Greg,
Please see:
viewtopic.php?f=13&t=9752
viewtopic.php?f=6&t=9808
However this will be addressed in the next version which should be out later in the new year.
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
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

obywatelgc wrote:Is there a chance to resize the controller according to screen size?
One method is to build the minimum elements for the controller within the portrait width of the device. In the case of the iPhone - I build elements 300px wide maximum, square so it works landscape too. Other parts of the controller can be moved to the corners of the skin, if needed.

What device are you making to work on?
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
obywatelgc
Posts: 4
Joined: Fri Dec 19, 2014 11:14 am

Finally I prepared two controllers and modified the output js/html files created by the software. What I found strange that Pano2VR doesn't give "ID" attributes to html elements, so I had to do it myself. In the next step I created conditional CSS entries for different resolutions (on narrow displays I hide the huge controller and display the narrow one).

Thx
G
Post Reply