Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6138] iOS: ScrollView with labels does not correctly resize when rotating the screen

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-01-05T14:40:43.000+0000
Affected Version/sRelease 1.7.3, Release 1.7.4, Release 1.8.0
Fix Version/sSprint 2011-45, Release 1.7.6, Release 1.8.0.1
ComponentsiOS
Labelsmodule_scrollview, qe-testadded
ReporterFederico Casali
AssigneeVishal Duggal
Created2011-11-09T14:24:52.000+0000
Updated2014-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

FileDateSize
app.js2011-11-09T14:24:52.000+00002544

Comments

  1. Vishal Duggal 2011-11-09

    Pull pending #661
  2. Stephen Tramer 2011-12-06

    Behaves the same in 1.7.6 as master; assuming that this is the appropriate behavior.
  3. Michael Pettiford 2011-12-07

    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
  4. Michael Pettiford 2012-01-05

    Reopening/closing to add/remove labels

JSON Source