[TIMOB-23384] Windows: Elements inside a ScrollView are centered.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-05-26T14:07:02.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | qe-5.3.0, qe-5.4.0 |
Reporter | Josh Longton |
Assignee | Gary Mathews |
Created | 2016-05-16T18:57:45.000+0000 |
Updated | 2016-10-06T06:47:56.000+0000 |
Description
Elements inside a ScrollView are always centered.
*Steps to reproduce:*
Use the app.js below.
*app.js*
var win = Ti.UI.createWindow({ backgroundColor: 'green' });
var scrollView = Ti.UI.createScrollView({
layout: "vertical",
backgroundColor: 'orange',
top: 0,
});
var view = Ti.UI.createView({
backgroundColor: 'yellow',
top: 10,
left: 10,
height: Ti.UI.SIZE,
width: Ti.UI.SIZE,
});
var label = Ti.UI.createLabel({
left: 10,
right: 10,
color: "blue",
text: "this is test text"
});
view.add(label);
scrollView.add(view);
win.add(scrollView);
win.open();
*Actual :*
!windows 10 scrollView.png|thumbnail!
*Expected:*
!android scrollView.png|thumbnail!
Attachments
File | Date | Size |
---|---|---|
android scrollView.png | 2016-05-16T18:55:56.000+0000 | 10785 |
windows 10 scrollView.png | 2016-05-16T18:56:12.000+0000 | 18792 |
Duplicate issue fixed by TIMOB-23350
Verified as fixed, as part of TIMOB-23350 . Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160617074028 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-18 Node: v4.4.4 *Closing Ticket.*