I wrote the following code

Button firstPB = new Button( msgs.srw_first(), this );
hPanel.add( firstPB );

This works fine and i have no problems. But after adding...

Button firstPB = new Button( msgs.srw_first(), this );
hPanel.add( firstPB );
firstPB.setStyleName("PaginationButton-Passive");

...to the code the button has no longer any behavior and i cannot
click it anymore. The style looks like this

.PaginationButton-Passive { height:25px;background:url('graphics/
PaginationButton_Passive.png') repeat-x;border:#444 solid
1px;color:#444;}


What am i doing wrong here?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to