Results 1 to 5 of 5

Thread: Weird looking Ext.Button

  1. #1
    Ext User dotnetCarpenter's Avatar
    Join Date
    Mar 2007
    Location
    Copenhagen, Denmark
    Posts
    271
    Vote Rating
    0
      0  

    Default Weird looking Ext.Button

    Am I the only one who gets weird looking buttons from time to time? I've noticed this in Firefox 2.0.0.3 and I have attached a screen dumb where you can see it.
    Attached Images Attached Images

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    3
      0  

    Default

    I think this is related to the same Firefox bug that sometimes causes horizontal lines to appear all over the documentation page when scrolling.

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    You have an old buttons sprite or CSS somewhere.
    Jack Slocum
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

  4. #4
    Ext User dotnetCarpenter's Avatar
    Join Date
    Mar 2007
    Location
    Copenhagen, Denmark
    Posts
    271
    Vote Rating
    0
      0  

    Default

    Jack can you elaborate on that? I've remove all my own CSS that could affect the button but in vain. What should I look after and what do you mean by "old buttons sprite"? Sprite shounds like something I would espect from Flash or Director...

  5. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      0  

    Default

    The buttons use a composite image and move it around based on the state of the button - aka "css sprite".

    In the later css/images, the button has a new state "focused" and the composite image has been updated with new pixel locations for this state. If you have an older cached image, there will be nothing at those image coordinates and you get what you have in your screenshot.

    In FF a control+reload should fix the issue, but in IE you may need to do a clear cache.
    Jack Slocum
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

Posting Permissions

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