Thursday, September 30, 2010

Re: SliderBar has yellow border after clicking

That's the focus rectangle. Try adding these:

slider.getElement().getStyle().setProperty("outline", "none");
slider.getElement().setPropertyBoolean("hideFocus", true);

And if you're targeting iOS, you'll probably want these as well:

slider.getElement().getStyle().setProperty("webkitTouchCallout",
"none");
slider.getElement().getStyle().setProperty("webkitUserSelect",
"none");

On Sep 30, 5:20 am, vkrejcirik <vkrejci...@gmail.com> wrote:
> Hi, could you help me to remove yellow border after clicking on
> SliderBar? I cannot find it in css style.
>
> Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment