2 Replies Latest reply on Nov 25, 2009 4:03 PM by tstatler

    Remove focus outline

    abeymg Level 1

      Is there a surefire way to completely kill the focus outline in a Flex 4 app globally?

      I tried all sorts of things (setting focusThickness to 0, setting focusSkin to null), but I still see the blue outline show up, especially in List instances.

       

      Thanks,

       

      - abey

        • 1. Re: Remove focus outline
          David_F57 Level 5

          Hi,

           

          Maybe setting the focus style at the application level would work, also try setting the focus alpha to 0.

           

          David

          • 2. Re: Remove focus outline
            tstatler Level 1

            Setting focusThickness doesn't work for you? If I add this style block to my MXML file I don't get the focus outline for any component (including List).

             

                <fx:Style>
                    @namespace s "library://ns.adobe.com/flex/spark";
                    @namespace mx "library://ns.adobe.com/flex/mx";
                   
                    global {
                        focus-thickness: 0;
                    }
                   
                </fx:Style>


            Tim