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

BlackBerry: View with height & width set to Ti.UI.SIZE & a label on it does not display the view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.1, Release 3.2.0
    • Fix Version/s: Release 3.3.0
    • Component/s: BlackBerry
    • Environment:

      Description

      Description:
      1. Create A BB app with the following code:

      var win1 = Titanium.UI.createWindow({  
         backgroundColor:'#fff'
      });
       
      var view1 = Titanium.UI.createView({
          backgroundColor:'red',
         width:Ti.UI.SIZE,
         height:Ti.UI.SIZE
      });
       
      var label1 = Titanium.UI.createLabel({
          backgroundColor:'blue',
         color:'#999',
         text:'Label Test',
         font:{fontSize:20,fontFamily:'Helvetica Neue',fontStyle:'italic'},
         width:Ti.UI.SIZE,
         height:Ti.UI.SIZE
      });
       
      view1.add(label1);
      win1.add(view1);
      win1.open();
      

      2. Build and run the app on BB device or simulator
      3. Launch the app

      Actual Results:
      1. The view is not displayed

      Expected Resuts:
      1. The view is displayed along with the label

        Attachments

        1. Ti.UI.SIZE.tiff
          63 kB
          Russell McMahon
        2. TIMOB-14006.png
          15 kB
          Priya Agarwal

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration