1. #1
    Ext User dudecool's Avatar
    Join Date
    Nov 2007
    Location
    Bangalore, Karnataka, India
    Posts
    26
    Vote Rating
    0
    dudecool is on a distinguished road

      0  

    Exclamation Focus class issue for TextField

    Focus class issue for TextField


    Hi All,
    I am having some CSS issues, the focus class for TextField is getting messed up, attached is the screen shot as well as the sample project.

    Please let me know if any one have a solution for this.
    Regards,
    Jayaveer.B
    Attached Images
    Attached Files

  2. #2
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527
    Vote Rating
    20
    makana has a spectacular aura about makana has a spectacular aura about

      0  

    Default


    found that out:

    add css:
    Code:
    input, textarea, td {
        outline: none;
    }
    the td is to prevent the same hideous blue borders that appear if you rightclick a grid cell.
    Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

  3. #3
    Ext User dudecool's Avatar
    Join Date
    Nov 2007
    Location
    Bangalore, Karnataka, India
    Posts
    26
    Vote Rating
    0
    dudecool is on a distinguished road

      0  

    Default


    Hi,
    Small addition to the code! we need to add the same setting for div tag, else when clicked on the fieldLabel one can see the border again.

    Code:
    input, textarea, td, div {
        outline: none;
    }
    Thanks for the reply
    Regards,
    Jayaveer.B
    http://gallery.jayaveer.com/

  4. #4
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527
    Vote Rating
    20
    makana has a spectacular aura about makana has a spectacular aura about

      0  

    Default


    Yes, you're right. Got this issue, too. I forgot to edit the post, sorry.
    Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

Thread Participants: 1