19 Jul 2010 10:03 AM #1
Preventing orientation changes?
So, I'm having a lot of trouble with floating panels and orientation changes and a tab bar that just likes to keep disappearing, and I was wondering if it is possible to just stop the website from rotating when the user rotates their phone. Does anyone know of a way to do this? Thanks beforehand!
19 Jul 2010 10:57 AM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
This shouldn't happen, what does your code look like?Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
19 Jul 2010 11:20 AM #3
Basically, I have a whole bunch of panels that I hide or show depending on where the user is in the application. One of these panels is called the "mainPanel" which the user gets to after logging in on the login page. This main panel has a toolbar that has 4 tabs and a docked "logout" button. When the program is started, the main panel is hidden, as are any of the panels that are inside it. Once the user logs in, the main panel is shown, and the toolbar(which should be at the bottom) is moved to the top of the page with the setPosition command. The panels that are in the tabbed panel are then also shifted to reflect this change. This entire system works, but the problem arises if the user rotates their phone on the login screen and then enters the main panel. The toolbar then shows up as a vertical black line bar in the top left corner, and the docked logout button disappears. Which section of the code would you like to see? There is too much to put the whole thing in one post. Thanks for the reply!
By emmy mathew in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 28 Nov 2013, 1:25 AM
By Pablo Cabana in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 29 Jun 2010, 1:14 PM
By lalogrosz in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 31 Jul 2007, 8:44 AM
By Mitu in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 16 Jan 2007, 6:53 AM
By garyrgi in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 7 Nov 2006, 9:49 AM