Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-13507

BlackBerry : Horizontal layout is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: BlackBerry
    • Environment:

      Environment:
      Ti Studio : 3.1.0.201304051530
      Ti BB SDK : 3.2.0.v20130409093412
      Mac OSX : 10.8.2
      win 7
      Win 8
      BB simulator : 10.0.10.261
      Z10 device running 10.0.10.88

      Description

      Description:
      1.Create a default app for BB
      2.Replace the app.js with the following code(Taken from KS):

       
      var win = Ti.UI.createWindow({});
      	
      	var view = Ti.UI.createView({
      		height:300,
      		width:320,
      		layout:'horizontal'
      		
      	});
      	win.add(view);
      	
      	var l1 = Ti.UI.createLabel({
      		text:'I am the first label',
      		left:5,
      		width:'auto',
      		height:20
      	});
      	
      	view.add(l1);
      	
      	var l2 = Ti.UI.createLabel({
      		text:'I am the second label',
      		left:2,
      		width:'auto',
      		height:20
      	});
      	
      	view.add(l2);
      	
      	var l3 = Ti.UI.createLabel({
      		text:'I am the third label',
      		left:2,
      		width:'auto',
      		height:20
      	});
      	
      	view.add(l3);
       
      win.open();
      

      2.Build & run on BB simulator/device.

      Actual Result:
      1. The app crashes after the appc splash screen

      Expected Results:
      1. The app should not crash & should show the horizontal layout

        Attachments

          Activity

            People

            • Assignee:
              joshroesslein Josh Roesslein
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16204
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration