Results 1 to 5 of 5

Thread: [4.1.2] Button not prefixing its over/pressed CSS classes

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,042
    Vote Rating
    182
      0  

    Default [4.1.2] Button not prefixing its over/pressed CSS classes

    From Ext.button.Button (these classes end up on the button el, guessing it's not intentional):

    Code:
        
        baseCls: Ext.baseCSSPrefix + 'btn',
    
        
        pressedCls: 'pressed',
    
        
        overCls: 'over',
    
        
        focusCls: 'focus',
    Should be more like

    Code:
     baseCls: Ext.baseCSSPrefix + 'column-header ' + Ext.baseCSSPrefix + 'unselectable',
    
        
        hoverCls: Ext.baseCSSPrefix + 'column-header-over',

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,425
    Vote Rating
    858
      0  

    Default

    Not sure what you mean?

    Code:
    Ext.require('*');
    
    Ext.onReady(function() {
    
        Ext.create('Ext.button.Button', {
            pressed: true,
            text: 'Foo',
            renderTo: document.body
        })
    
    });
    Attached Images Attached Images
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,042
    Vote Rating
    182
      0  

    Default

    Hover over it, take another look ("over" will be there)

  4. #4

  5. #5

Posting Permissions

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