Hi,
adding a style name to PushButton prevents it being
formatted correctly when using CSS. For example,
using the code below:
button1 = new PushButton("Button 1");
button2 = new PushButton("Button 2");
button1.setStyleName("button1");
and a CSS like this:
nextapp.echo2.app.Component
{
font: font(arial,plain,8);
}
button1 will have the correct font, button2 won't.
Cheers!
Jon