Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2010
    Location
    Orange County, CA
    Posts
    31
    Vote Rating
    0
    vega109 is on a distinguished road

      0  

    Default [CLOSED-EXTJSIV-800] Ext.draw.Component is not rotating in IE

    [CLOSED-EXTJSIV-800] Ext.draw.Component is not rotating in IE


    Hello

    I have an Ext.draw.Component which I want to rotate. To do that I utilize the following code:

    Code:
     var sprite = Ext.getCmp('win1').surface.items.first();
             sprite.setAttributes({
                 rotation: {
                     degrees: 90
                 }
             }, true);
    It works fine in FF but it doesn't for IE.

    Thank you.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Do you have the configuration for that sprite? I'm having trouble duplicating the issue.

  3. #3
    Sencha User
    Join Date
    May 2010
    Location
    Orange County, CA
    Posts
    31
    Vote Rating
    0
    vega109 is on a distinguished road

      0  

    Default


    Yes, sir.
    Code:
    Ext.create('Ext.draw.Component', {
    			width : 400,
    			id : 'win' + counter,
    			height : 400,
    			draggable : {
    				constrain : true
    			},
    			floating : true,
    			renderTo : 'mainPanel',
    			autoSize : true,
    
    			items : [ {
    				type : "rect",
    				width : 40,
    				height : 40,
    				x : 50,
    				y : 50,
    				stroke : "#000",
    				"stroke-width" : ".5"
    			} ]
    		});

  4. #4
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    Hi, thanks for the report.

    Have you tried using `rotate` instead of `rotation`? That's what we're supposed to use in the setAttributes method.

    PHP Code:
    sprite.setAttributes({
      
    rotate: {
        
    degrees90
      
    }
    }, 
    true); 
    Let me know if the problem persists with that change.

  5. #5
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    I just tested it myself. It solves the issue

Similar Threads

  1. [OPEN] [B2] Gradients not working when I extend Ext.draw.Component
    By johanhaest in forum Ext:Bugs
    Replies: 6
    Last Post: 27 Jun 2012, 7:43 AM
  2. Replies: 0
    Last Post: 8 Apr 2011, 4:12 PM
  3. Replies: 3
    Last Post: 1 Apr 2011, 12:22 AM
  4. Replies: 5
    Last Post: 29 Mar 2011, 8:45 AM
  5. Replies: 1
    Last Post: 17 Mar 2011, 4:16 PM

Thread Participants: 2