- This topic has 3 replies, 2 voices, and was last updated 13 years, 4 months ago by mrsam.
-
AuthorPosts
-
mrsamMemberDear MB1,
Potrait orientation did not rotate to actual potrait size after rotated from landscape position. Everything is working fine in Test Center but not in the actual iPad. I attached the captured images. Pls help. Tq
Attachments:
You must be logged in to view attached files.
support-michaelKeymaster@mrsam
Cool looking UI. Can you attach your design file (.mobi) to this thread or send it to me to investigate (support at genuitec dot com with title “mobione ipad portrait issue for wayne”)?I”m not saying that MobiOne does not have a bug. But from a quick look at the UI outline, the design might need more structure to work in both orientation. I typically see layouts like this for dual orientation:
-navbar
-panel1 (scroller enabled, resize properties configured to fill screen in both orientations)
— children components
– toolbarAlso here is a doc that might be helpful: http://genuitec.com/mobile/docs/designingForLandscape/designingForLandscape.html
support-michaelKeymaster@mrsam
Thanks for sending me that example design file. I confirmed this is a bug on the iPad. We tracked it down to a difference in event timing on iOS that results in a non-deterministic race condition. On the iPad the race condition results in the layout not completing correctly. In the Test Center the emulator runs much quicker in most cases and results in the layout completing correctly. We have a fix for this in the up coming 1.2.2 release.I will send you a revised version of your design that simplifies the layout such that it will layout properly on the iPad.
mrsamMemberThanks for your prompted reply Wayne. Do you think I can use something like REFRESH PAGE using JScript on phoneui.postOrientationChange?
Maybe in this home_custum.js
/**
* Notification that device orientation has changed.
*
* @param {String} newOrientation
*/
phoneui.postOrientationChange = function(newOrientation) {refresh page JScript;
}
/**
-
AuthorPosts