Results 1 to 6 of 6

Thread: Change default color of frame animation

  1. #1

    Default Change default color of frame animation

    How do you change the default color of Ext.Fx.frame() animation method? Thanks.
    Last edited by mystix; 12 Jul 2009 at 9:31 PM. Reason: moved to 3.x Help from Open Discussion

  2. #2

  3. #3

    Default

    mystix,

    I mean the default color, 'C3DAF9'. So instead of doing this to change the color to 'FFBE00',

    Ext.Fx.frame('FFBE00');

    I want to achieve the above, with just Ext.Fx.frame()

    Thanks.

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    It's hard-coded in the frame method, so you would have to override it to be able to change it.

    Maybe I should make a feature request to make the default values of Fx animation configurable...

  5. #5

    Default

    I vote yes on this idea. Similarly this should also be implemented for highlight(). Being able to set a default configuration to these effects,makes them more user friendly when developing various theme/skin for a project using Ext.

    Thanks.

  6. #6
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Good idea.

    Ext.Fx.defaultFrameColor and Ext.Fx.defaultHighlightColor

    (I suppose we have to spell them that way.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •