i defined the css for button, but still button's size didn't change, what
could be wrong??? thanks.
CSS:
.mybutton .x-btn-right{
background:transparent url(../images/default/button/btn-sprite.gif)
no-repeat scroll right;
height:150px;
padding-right: 15px;
}
.mybutton .x-btn-left {
background:transparent url(../images/default/button/btn-sprite.gif)
no-repeat scroll right;
height:150px;
padding-right: 15px;
}
.mybutton .x-btn-center{
background:transparent url(../images/default/button/btn-sprite.gif)
repeat-x center;
width:150px;
height:80px;
text-align:center;
}
.mybutton .x-btn-text {
line-height: 150px;
font-family: Arial, Helvetica, sans-serif;
font-size:60px;
font-weight:bold;
}
and in the code:
Button myButton = new Button("hello");
myButton.setCls("mybutton");
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---