jreue
15 Jul 2009, 12:47 PM
in my css file i have the following:
.playerNameField{
font-family: verdana;
font-weight: bold;
font-style: normal;
font-size:3em;
color: gray;
}
In my java, i have this
this.nameField = new LabelField(this.player.getName());
this.nameField.setStyleName("playerNameField");
Once rendered, all style properties work except the size. I have tried most all of the valid size values such as small, medium, large, pc, em, %'s and nothing changes the size of the font.
Any clues?
.playerNameField{
font-family: verdana;
font-weight: bold;
font-style: normal;
font-size:3em;
color: gray;
}
In my java, i have this
this.nameField = new LabelField(this.player.getName());
this.nameField.setStyleName("playerNameField");
Once rendered, all style properties work except the size. I have tried most all of the valid size values such as small, medium, large, pc, em, %'s and nothing changes the size of the font.
Any clues?