[TIMOB-9083] iOS: barImage does not resize as per the orientation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-17T14:14:59.000+0000 |
Affected Version/s | Release 2.0.0, Release 1.8.2 |
Fix Version/s | Release 2.0.2, Release 2.1.0, Sprint 2012-10 API |
Components | iOS |
Labels | api, module_navbar, qe-testadded |
Reporter | Varun Joshi |
Assignee | Vishal Duggal |
Created | 2012-05-09T14:52:57.000+0000 |
Updated | 2012-07-20T14:11:56.000+0000 |
Description
Problem and Steps to Reproduce
Start the image in iPad/iPhone simulator. The barImage added to a window looks fine in portrait mode when the app starts, but when changing the orientation to landscape, the barImage that shows is still of the portrait size. However, if the tabs are switched in landscape mode the barImage looks fine. Then, if we go back to portrait the image isn't scaled right again until the tabs are switched again. Please find attached the sample code.Expected Behavior
The barImage should scale according to the orientation.Attachments
File | Date | Size |
---|---|---|
NavBar.zip | 2012-05-09T14:52:57.000+0000 | 3189729 |
PR merged https://github.com/appcelerator/titanium_mobile/pull/2200
Tested with 2.0.2.v20120517153200 on iPhone 4s 5.1