Menu

#43 EchopointNG: PushButton CSS bug

open
nobody
None
5
2005-09-07
2005-09-07
Jon Iles
No

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

Discussion


Log in to post a comment.