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

BlackBerry : Buttons are displayed as Ti.UI.SIZE even though dimensions are specified in the code

    Details

      Description

      This is a regression.

      Description:
      1. Build an app for BB with the following code:

       
      var win = Titanium.UI.createWindow({  
          backgroundColor:'#fff'
      });
       
      var exit1 = Ti.UI.createButton({
      	title:'Exit',
      	top:'50%',
      	left:'0%',
      	height:'10%',
      	width:'30%'
      });
       
      var win1back = Ti.UI.createButton({
      	title:'<-----',
      	top:'50%',
      	left:'30%',
      	height:'10%',
      	width:'35%'
      });
       
       
      var forward1 = Ti.UI.createButton({
      	title:'----->',
      	top:'50%',
      	left:'65%',
      	height:'10%',
      	width:'35%'
      });
       
      win.add(exit1);
      win.add(win1back);
      win.add(forward1);
       
      win.open();
      

      2. Build & run the app for BB simulator/device
      3. On app launch notice the three buttons

      Actual Result:
      1. The buttons over lap each other & are displayed as Ti.UI.SIZE & not according to the dimensions specified.
      2. The dimensions not respected are in both in absolute or percent format

      Expected Result:
      1. The buttons should respect specified dimensions & not default to SIZE

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration