[CLOSED] Emphasize the focus button

  1. #1

    [CLOSED] Emphasize the focus button

    There is a property or a style to be set to emphasize a button when it receives the fire?

    An example in the bitmap below:

    Attached Thumbnails Click image for larger version. 

Name:	Button.png 
Views:	6 
Size:	6.5 KB 
ID:	20642  
    Last edited by Daniil; Feb 11, 2015 at 8:28 AM. Reason: [CLOSED]
  2. #2
    Hi Mario,

    You can try this.
    .x-btn-focus {
        outline: solid;
    }
    Here is a related article.
    CSS outline property - outline: none and outline: 0

    Also I can say that this has been significantly improved in ExtJS 5.1 and, therefore, upcoming, Ext.NET 3.1.
  3. #3
    Not works, Daniil... :(
  4. #4
    Please provide a test case that you are testing with. I will investigate.
  5. #5
    Tnx, Daniil...

    Try on Chrome, Firefox and IE:

    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    
    <html>
    <head runat="server">
        <title></title>
    
         <style>
            .x-btn-focus {outline: solid;}
         </style>
    
     </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
    
            <ext:Panel runat="server">
                <Buttons>
                    <ext:Button runat="server" Text="Button 1" Width="150" />
                    <ext:Button runat="server" Text="Button 2" Width="150" />
                    <ext:Button runat="server" Text="Button 3" Width="150" />
                </Buttons>
            </ext:Panel>
    
        </form>
    </body>
    </html>
  6. #6
    Thanks. Please try:
    .x-btn-focus .x-btn-wrap {
        outline: solid;
    }
  7. #7
    Perfect !

    Tnx Daniil.

    You can close the thread.

Similar Threads

  1. [CLOSED] button focus problem
    By metci in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 07, 2014, 5:39 AM
  2. Change button look on focus.
    By Rupesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 11, 2012, 10:02 PM
  3. [CLOSED] Button focus style
    By jeybonnet in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 28, 2011, 12:11 PM
  4. [CLOSED] Button Focus
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 07, 2011, 1:45 PM
  5. Button Focus Cls
    By David Pelaez in forum 1.x Help
    Replies: 2
    Last Post: Feb 25, 2011, 7:07 AM

Tags for this Thread

Posting Permissions