[TIMOB-6138] iOS: ScrollView with labels does not correctly resize when rotating the screen
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-05T14:40:43.000+0000 |
Affected Version/s | Release 1.7.3, Release 1.7.4, Release 1.8.0 |
Fix Version/s | Sprint 2011-45, Release 1.7.6, Release 1.8.0.1 |
Components | iOS |
Labels | module_scrollview, qe-testadded |
Reporter | Federico Casali |
Assignee | Vishal Duggal |
Created | 2011-11-09T14:24:52.000+0000 |
Updated | 2014-06-19T12:44:22.000+0000 |
Description
- Create a scrollView, and then add a view with 'auto' width inside of the scrollView.
- Add a label with a long portion of text in the view.
- Rotate the screen from portrait to landscape
Expected result: text is automatically resized according to the landscape screen width
Actual result: text width is not resizing, keeping the portrait mode width.
- From landscape mode, Click on Tab2, then again on Tab1
Result: text width is now correctly displayed as occupying all the screen width.
- Rotate to Portrait mode
Result: text width is not resizing, keeping the landscape mode width. Clicking on Tab2 and then Tab1 resize correctly the text.
In all cases, the verticalScrollIndicator is correctly shown and displayed in the right end of the screen.
Attached sample code.
Attachments
File | Date | Size |
app.js | 2011-11-09T14:24:52.000+0000 | 2544 |
Pull pending #661
Behaves the same in 1.7.6 as master; assuming that this is the appropriate behavior.
Tested on Ti Studio 1.0.7.201112061404 Ti Mob SDK 1.8.0.1.v20111207091653 OSX Lion iPod Touch 4.3.5, iPhone 4S OS 5.0.1, iPad 2 OS 4.3.5, iPhone Simulator 5.0 Expected behavior of text field resizing properly is shown
Reopening/closing to add/remove labels