PDA

View Full Version : Globally turn of all animation?



silcreval
8 Apr 2011, 2:23 AM
Is it possible to turn off all animation (window open close, etc) globally in Ext. On slow
machines the animation can be confusing as its not smooth. I'd like to turn it off.

I realise I can change animation properties on indvidual items, but I have a large
application so its not trivial to do this.

People - always check your applicaton on slower machines - it can be quite a shock
when you move from an 8 core dual graphics card machine to an XP box with a
64M graphics card (I kid you not). Uuugh.

Thanks...

fay
8 Apr 2011, 2:31 AM
You could try setting Ext.enableFx (http://dev.sencha.com/deploy/dev/docs/?class=Ext&member=enableFx) off in your onReady:



Ext.enableFx = false;

silcreval
8 Apr 2011, 3:12 AM
Fantastic tip thanks!