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

BlackBerry : Adding number of views beyond than which can be seen on horizontal layout makes tha app exit

    Details

      Description

      Description:
      ==============
      1. Create an app with the following code:

      var win = Ti.UI.createWindow({});
           
      var view = Ti.UI.createView({
      	backgroundColor:'green',
              height:200,
              width:200,
              layout:'horizontal'
               
      });
       
       
      function MyView(){
      	var view = Ti.UI.createLabel({
      		backgroundColor:color,
      		height:40,
      		top:10,
      		left:5,
      		width:Ti.UI.SIZE
      	});
      	
      	var lbl = Ti.UI.createLabel({
      	text:'view for test'
      	//height:Ti.UI.SIZE,
      	//width:Ti.UI.SIZE
       
      	});
      	
      	view.add(lbl);
      	
          return view;
          
      }
       
      for(i=0;i<20;i++){
      view.add(MyView(red));
      }
      	
       
       
      win.add(view);
      	 
      win.open();
      

      2. Build & run on BB device/simulator.
      3. Observe the app when it starts

      Actual Result:
      ================
      1. The app exits immediately after start

      Expected Result:
      =================
      1. The app should not exit

        Attachments

          Activity

            People

            • Assignee:
              rmcmahon Russell McMahon
              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-16830
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration