-
7 Apr 2011 9:36 AM #1
[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:
It works fine in FF but it doesn't for IE.Code:var sprite = Ext.getCmp('win1').surface.items.first(); sprite.setAttributes({ rotation: { degrees: 90 } }, true);
Thank you.
-
7 Apr 2011 1:12 PM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Do you have the configuration for that sprite? I'm having trouble duplicating the issue.
-
7 Apr 2011 1:32 PM #3
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" } ] });
-
10 Apr 2011 7:17 AM #4
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.
Let me know if the problem persists with that change.PHP Code:sprite.setAttributes({
rotate: {
degrees: 90
}
}, true);
-
10 Apr 2011 7:33 AM #5
I just tested it myself. It solves the issue

Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[OPEN] [B2] Gradients not working when I extend Ext.draw.Component
By johanhaest in forum Ext:BugsReplies: 6Last Post: 27 Jun 2012, 7:43 AM -
[FIXED-EXTJSIV-861]Ext.draw.Component IE error: 'Attribute only valid on v:image'
By vega109 in forum Ext:BugsReplies: 0Last Post: 8 Apr 2011, 4:12 PM -
[OPEN-EXTJSIV-572][B1] Draw Component misses filters
By steffenk in forum Ext:BugsReplies: 3Last Post: 1 Apr 2011, 12:22 AM -
[FIXED-EXTJSIV-445] Ext.draw.Component: Render Items Config not rendered right
By Nickname in forum Ext:BugsReplies: 5Last Post: 29 Mar 2011, 8:45 AM -
[OPEN-EXTJSIV-157] Ext.draw.Component viewbox issue
By 4CastRisk in forum Ext:BugsReplies: 1Last Post: 17 Mar 2011, 4:16 PM


Reply With Quote