Page 1 of 1

Resize controller size to fit on smaller screens

Posted: Fri Dec 19, 2014 1:01 pm
by obywatelgc
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

Re: Resize controller size to fit on smaller screens

Posted: Mon Dec 22, 2014 2:43 pm
by Hopki
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

Re: Resize controller size to fit on smaller screens

Posted: Mon Dec 22, 2014 6:51 pm
by Chu
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?

Re: Resize controller size to fit on smaller screens

Posted: Mon Jan 05, 2015 1:07 am
by obywatelgc
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