On 25 mai, 04:44, Ian Bambury <[email protected]> wrote:
> The visual focus indicator is there for accessibility reasons so people who
> cannot use a mouse know what has focus if they are using a keyboard or voice
> commands or chin-operated joysticks, suck.blow controllers, head-switches
> etc. so they know where they are
> If this isn't a concern, then
>
>         Button b = new Button("Click Me", new ClickHandler()
>         {
>             @Override
>             public void onClick(ClickEvent event)
>             {
>                 ((Button) event.getSource()).setFocus(false);
>             }
>         });

Or simply:

.gwt-Button /* or whichever CSS selector */ {
   outline: none;
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to