that should work, why don't you use myLabel.getElement().getStyle().setProperty("textShadow", "...") ?
On Wed, Sep 7, 2011 at 10:54 PM, Evan Ruff <evan.r...@gmail.com> wrote: > I think I might be going crazy. I have a Label element. I'm trying to apply > a simple text shadow using: > > myLabel.getElement().getStyle().setProperty( "textShadow", "#000 5px 5px > 5px" ); > > and it does not show up. > > I've also tried: > > DOM.setStyleAttribute( myLabel.getElement(), "textShadow", "#FFF 5px 5px > 5px" ); > > but still, I never get the shadow. If I apply "text-shadow" directly to the > element using the Chrome dev tools, it displays as expected. > > Why does GWT hate my textShadow property? > > Any way around it? > > Thanks! > > Evan > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/nEejhPMljCEJ. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.