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

BlackBerry : Changes in the DPI are needed to keep the parity of controls layout across platforms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: BlackBerry
    • Environment:

      Description

      Description:
      1.Create a BB app from the code below:

       
      var win = Ti.UI.createWindow({
      	backgroundColor:'white',
      });
       
      var button1 = Ti.UI.createButton({
      	title:'HardCoded',
      	top:30,
      	height:40,
      	width:60
      });
       
      var button2 = Ti.UI.createButton({
      	title:'percentage',
      	top: '25%',
      	width:'45%'
      });
       
      var button3 = Ti.UI.createButton({
      	title:'Size',
      	//top:70
      	height:Ti.UI.SIZE,
      	width:Ti.UI.SIZE
      });
       
      var lbl = Ti.UI.createLabel({
      	text:'Test Label',
      	top:'70%',
      	font:{fontSize:20},
      	height:Ti.UI.SIZE,
      	width:Ti.UI.SIZE
      });
       
      win.add(button1);
      win.add(button2);
      win.add(button3);
      win.add(lbl);
      win.open();
      

      2. Build & run the app on BB device/simulator
      3. Run the same app on an iphone device/simualator

      Actual Result:
      1. The controls layout & the size vary according to the platform

      Expected Result:
      1. The controls ahould have parity across platforms for layout & size

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                penrique Pedro Enrique (Inactive)
                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-16565
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration