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

BlackBerry: Window does not resize itself on orientation change from portrait to landscape

    Details

      Description

      This is a regression.

      Description:
      1. Create an app for BB & replace the app.js with the code below:

      var win = Ti.UI.createWindow({
      backgroundColor: 'green',
      layout:'vertical'
      });
      	
      win.orientationModes = [
      Titanium.UI.PORTRAIT,
      //Titanium.UI.UPSIDE_PORTRAIT,
      Titanium.UI.LANDSCAPE_LEFT,
      Titanium.UI.LANDSCAPE_RIGHT,
      Titanium.UI.FACE_UP,
      Titanium.UI.FACE_DOWN
      ]; 
       
      var lbl1 = Ti.UI.createLabel({
      text:'Orientation',
      color:'white',
      font:{fontSize:12}
      });
       
      win.add(lbl1);
      win.open();
      

      2. Build & run the app on BB device
      3. Launch the app & change the orientation from portrait to landscape

      Actual result:
      1. Thought the orientation changes to landscape the window does not resize accordingly & does not fill the width

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              lokeshchdhry Lokesh Choudhary (Inactive)
              Reviewer:
              Russell McMahon
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration