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?
Q&A about the latest versions
4 posts • Page 1 of 1
- Posts: 9923
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
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.obywatelgc wrote:Is there a chance to resize the controller according to screen size?
What device are you making to work on?
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).