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

BlackBerry: Allow containers to use Ti.UI.SIZE to size to labels and buttons

    Details

      Description

      Here is the test app

      var win1 = Titanium.UI.createWindow({  
         backgroundColor:'#000'
      });
       
      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();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rmcmahon Russell McMahon
                Reporter:
                rmcmahon Russell McMahon
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration