[TIMOB-20505] iOS: Inconsistent behavior with various UI components when toggling autolayout
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-08T05:21:58.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | iOS |
Labels | AL-5.4.0, autolayout |
Reporter | Chee Kiat Ng |
Assignee | Pedro Enrique |
Created | 2016-03-03T05:26:41.000+0000 |
Updated | 2017-03-20T17:08:53.000+0000 |
Description
Some UI components has inconsistent layout behaviors when auto-layout property is toggled on/off.
Components include:
TiMediaVideoPlayer
TiUIActivityIndicator
TiUIButton
TiUIButtonBar
TiUICanvasView
TiUIImageView
TiUILabel
TiUIListView
TiUIMaskedImage
TiUINavBarButton
TiUIPicker
TiUIProgressBar
TiUIScrollView
TiUIScrollableView
TiUISearchBar
TiUISlider
TiUISwitch
TiUITabGroup
TiUITableView
TiUITextField
TiUITextWidget
TiUIWebView
TiUIiOSAdView
TiUIiOSCoverFlowView
TiUIiOSLivePhotoView
TiUIiOSToolbar
TiUIiPadSplitWindow
PR here: https://github.com/appcelerator/titanium_mobile/pull/7618
Test for regression with this PR
Steps to Test
1. get KitchenSink latest master 2. in tiapp.xml, set property3. *ti build -p ios* 4. now in tiapp.xml, set sdk to 5.2.0.GA 5. *ti build -p ios -T device*
Expected Result
Compare the UI component layouts between the simulator and device. it should be exactly the same.Test Case for toggling autolayout
Steps to Test
1. get KitchenSink latest master 2. in tiapp.xml, set property3. *ti build -p ios* 4. set "use-autolayout" to false 5. *ti build -p ios*
Expected result
The key components as stated above in description should behave the same with auto-layout true or false. Note: To also test with landscape orientation, on device, and on iPad.CR and FT done. Found some minor issues, so will open separate tickets for those and reference here. Since this is a big ticket and PR, changing to story and merging PR. If there's more bugs to be found, new tickets should be opened.
PR merged.
Closing ticket as fixed.