gwt mix content with style?

2009-03-19 Thread Coonay
like old html,gwt mix content with style again? in gwt ,most dynamic UI element have to set style with addStyleName method? such as the following, public class FirstGWT implements EntryPoint { private FlexTable stocksFlexTable = new FlexTable(); } if i define the style in the css

Re: gwt mix content with style?

2009-03-19 Thread Danny Schimke
You could do something like this: Style style = tmpElement.getElement().getStyle(); style.setProperty(border, 1py solid #00;); -Danny 2009/3/19 Coonay fla...@gmail.com like old html,gwt mix content with style again? in gwt ,most dynamic UI element have to set style with addStyleName

Re: gwt mix content with style?

2009-03-19 Thread Vitali Lovich
...@gmail.com like old html,gwt mix content with style again? in gwt ,most dynamic UI element have to set style with addStyleName method? such as the following, public class FirstGWT implements EntryPoint { private FlexTable stocksFlexTable = new FlexTable(); } if i define the style

Re: gwt mix content with style?

2009-03-19 Thread Coonay
api interface, if yes ,i think gwt mix the content with style. what i expect is that GWT will apply style to the elment using css style selector with the same name as element name,gwt user need not to call addStyleName explicitly(make this just a optional ) On Mar 20, 2:51 am, Vitali Lovich

Re: gwt mix content with style?

2009-03-19 Thread Vitali Lovich
interface, if yes ,i think gwt mix the content with style. what i expect is that GWT will apply style to the elment using css style selector with the same name as element name,gwt user need not to call addStyleName explicitly(make this just a optional ) On Mar 20, 2:51 am, Vitali Lovich