[TIMOB-14304] BlackBerry: Fix issue with layout when layout is offscreen and Ti.UI.SIZE causes "jumping labels"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-26T01:39:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 13 API, 2013 Sprint 13, 2013 Sprint 15 API, Release 3.1.2, Release 3.2.0 |
Components | BlackBerry |
Labels | n/a |
Reporter | Russell McMahon |
Assignee | Russell McMahon |
Created | 2013-06-20T05:10:15.000+0000 |
Updated | 2014-06-19T12:43:52.000+0000 |
Description
Test
var win = Titanium.UI.createWindow();
var view = Ti.UI.createView({
backgroundColor: 'red',
width: Ti.UI.SIZE,
height: Ti.UI.SIZE,
layout: 'vertical'
});
function MyLabel(title) {
return Ti.UI.createLabel({
text: title,
top: 10
});
}
for(var i = 0; i < 100; i++) {
view.add(MyLabel('Label #' + (i + 1)));
}
win.add(view);
win.open();
Reopening. Issue still persists. Verified with Environment: Studio: 3.1.2.201307171817 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261) Xcode: 4.5.1 blackberry SDK: 10.1.0.1020 Labels works fine when less in number ie,for 20 works well. Labels still jumping when layout is offscreen and number of labels are more in number for example 100.
Verified the fix & the labels do not jump as before. You will see them drawing & finally they stop , which seems like jumping but they are drawing & not jumping. Thus closing. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130808180613 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88