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

MobileWeb: Ti.UI.create2DMatrix() does not support properties in its constructor object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Release 3.1.1
    • Fix Version/s: None
    • Component/s: MobileWeb
    • Labels:
    • Environment:

      TiSDK 3.1.1
      Chrome 7.0.1453.116

      Description

      problem

      Mobileweb does not respect matrix properties (MatrixCreationDict) set in the constructor of Ti.UI.create2DMatrix(), despite the documentation at docs.appcelerator.com indicating that it should. It works on Android and iOS.

      expected

      Mobileweb, like Android and iOS, should appropriately apply a MatrixCreationDict passed into the Ti.UI.create2DMatrix() function.

      test case

      The label will be tilted 45 degrees on Android and iOS. It will not be on Mobileweb.

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff',
      	modal: false,
      	exitOnClose: true
      });
      var label = Ti.UI.createLabel({
      	text: 'just a test label',
       
              // Ti.UI.create2DMatrix().rotate(45) would work on all platforms
      	transform: Ti.UI.create2DMatrix({rotate:45})
      });
       
      win.add(label);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                tlukasavage Tony Lukasavage
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration