I'm trying to set the style name of the div of the split between the two widgets of a HorizontalSplitPanel in order to CSS-style it. Is there any way to do this?
views:
159answers:
2
                
                A: 
                
                
              
            Figured a way out myself, though it is definitely a bit "hacky":
    Element split = (Element)hSplit.getElement().getChild( 0 ).getChild( 1 );
    split.setClassName( css.horizontalSplit() );
If anyone has a more elegant solution, I'd love to hear it.
                  Epaga
                   2010-03-19 11:26:14
                
              
                +1 
                A: 
                
                
              
            According to the javadocs for HorizontalSplitPanel, you should change the .gwt-HorizontalSplitPanel .hsplitter { the splitter } style. Just make sure you set up your CSS styles to take precedence over the core GWT ones.
                  Igor Klimer
                   2010-03-19 11:48:48