I am a newbie to gwt…I need to change the font size of static text item.I tried to do it by using the method " setTextBoxStyle(“h1”) " as below in my “GwtProj.java” file
StaticTextItem heading=new StaticTextItem();
heading.setDefaultValue("Enter School Information");
heading.setTextBoxStyle("h1");
In the above code,“h1” means base css class …where it looks like below in my “GwtProj.css” file.
h1 {
font-size: 2em;
font-weight: bold;
color: #777777;
margin: 40px 0px 70px;
text-align: center;
}
I haven’t altered anything in my “GwtProj.gwt.xml” file.should i do any modifications overthere…?
Where did I go wrong in the procedure above…?please help…