I'm trying to rotate a Widget (a LayoutPanel in fact) in GWT. I think this is possible in e.g. jQuery, but can't seem to find out how to do it in (pure) GWT. Is it possible?
            Asked
            
        
        
            Active
            
        
            Viewed 2,278 times
        
    2 Answers
0
            
            
        Try this:
<yourwidget>.getElement().getStyle().setProperty("transform", "rotate(20deg)");
You can can do lots of transformations following the same pattern.
 
    
    
        dac2009
        
- 3,521
- 1
- 22
- 22
 
     
    