Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14304] BlackBerry: Fix issue with layout when layout is offscreen and Ti.UI.SIZE causes "jumping labels"

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-26T01:39:09.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 13 API, 2013 Sprint 13, 2013 Sprint 15 API, Release 3.1.2, Release 3.2.0
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneeRussell McMahon
Created2013-06-20T05:10:15.000+0000
Updated2014-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();

Comments

  1. Priya Agarwal 2013-07-19

    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.
  2. Lokesh Choudhary 2013-08-09

    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

JSON Source